Message ID | 20230426192246.5517-2-quic_abhinavk@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp465827vqo; Wed, 26 Apr 2023 12:36:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Zjr65IAL9YMPfnCqdS9kOUfqN9tkOMf0lDIYxyuwAur90EEzvOCa1qGzKhbBODOq1DI4XP X-Received: by 2002:a17:903:2447:b0:1a6:fe25:4129 with SMTP id l7-20020a170903244700b001a6fe254129mr24454869pls.0.1682537790573; Wed, 26 Apr 2023 12:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682537790; cv=none; d=google.com; s=arc-20160816; b=Mt6CPAlmuc65d8jPbwbgz8nBxxcRda0+oGfIXQG+iYkAsA6FaTrSzMNnFcnECkLdm0 HIfVuKJF9BabTtwzVmnrr3NugfikBDqNXF3tAFPe4Hfrut/jDZ8ojd3ZWn5KVjNhjVkF HRjVE53ATyhc2QsVAd/zkLrSrGzIsJXZ91GfCOJxReMqOTmXlvPuap14n7dF4CbkepXC OljEMTuAlOEIIsuYeup2bxIke98pVj+b/BlnKkQ6U0DVX2tteu8gWoG/76m1dpQ13APQ O/yJF6P/aUQjYMwfQax4xf0iMnYOPECumwJpPRGuKvSHNopAso966TDKROhG9eLG8Kke DQxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ohCHxWuUVY7OO8meTKcLOoiLqkpM2lzEy7Qranv9Erk=; b=Na4VGfnefs9xQUpDE8HaCOARtyEKKw+t2aNBvUqTDCw3iCDy2PPncdzIyx0PsFetdw 9eQ93TiCNBeBY+aEUC4MpIBMtEGC725NvxdgcD00p+KLrBM41cXLp4yu1uG31RNxTMix 0PSZRc4QKf8OTH51nUA9sQwTE/RL1DX3Toc+3yhXln15iTlEldjLJVgKABW2fY53iwO0 GC3fY+pKrm9tqnbbTNsYiVm5tXq3m9UFkekWcdC49HPy964Q/Fc31X9aqDYzBEjbDL8u RUQOqpIQxrQXZxR0oF3sLK8SuMoEAel/9wyJyd5kXxVFp3HRi9kF8wk9hjnQ4hFvUPpa 5hjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K+I+DvnO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a1709028bcb00b001a961300697si10440732plo.589.2023.04.26.12.36.13; Wed, 26 Apr 2023 12:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K+I+DvnO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239512AbjDZTXa (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Wed, 26 Apr 2023 15:23:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233549AbjDZTXZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Apr 2023 15:23:25 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB67810FC; Wed, 26 Apr 2023 12:23:05 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33QJ18HO003102; Wed, 26 Apr 2023 19:23:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ohCHxWuUVY7OO8meTKcLOoiLqkpM2lzEy7Qranv9Erk=; b=K+I+DvnO1FgAyM68qt7+PQwY9kBIf0a9ut6gBWfvbmISsJgcPU471GgIhp5oibxEvXtj KFyybefj1pQnoP+9cEnP4K0shJoyC39ldpm1rW3rG2rZWI+7PgIOUnLtxoiZ6/M4q5RF xGIIFBlNuDPGYFy/ZNDbabKmX2TpH0SVvcuJKKwq2k2F2wxNa3eSGOyNhBhbi3G2H70T zhn3yTGhcJhKldFmE5dvD2Lq5O6BgIIQuiSTPTBKeH2kDFW2YtunvDmBATMYVqDhmgC0 /kign7b3FFUn4An4meUj89b7qYN5UB0ILA8LfC4VNxviR3RjjLIfI79wWz2f8JBRP+ui 2Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q7237h7cg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:23:00 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33QJMx6K032591 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:22:59 GMT Received: from abhinavk-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 26 Apr 2023 12:22:58 -0700 From: Abhinav Kumar <quic_abhinavk@quicinc.com> To: <freedreno@lists.freedesktop.org>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> CC: <dri-devel@lists.freedesktop.org>, <quic_jesszhan@quicinc.com>, <marijn.suijten@somainline.org>, <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v2 2/4] drm/msm/dpu: remove DPU_DSPP_IGC handling in dspp flush Date: Wed, 26 Apr 2023 12:22:44 -0700 Message-ID: <20230426192246.5517-2-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230426192246.5517-1-quic_abhinavk@quicinc.com> References: <20230426192246.5517-1-quic_abhinavk@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: d2PCwUWus8Txw9DX4cJBYZ2zigniy05y X-Proofpoint-ORIG-GUID: d2PCwUWus8Txw9DX4cJBYZ2zigniy05y X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-26_10,2023-04-26_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=841 adultscore=0 bulkscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304260172 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764268746288973162?= X-GMAIL-MSGID: =?utf-8?q?1764268746288973162?= |
Series |
[v2,1/4] drm/msm/dpu: remove DPU_DSPP_GC handling in dspp flush
|
|
Commit Message
Abhinav Kumar
April 26, 2023, 7:22 p.m. UTC
Inverse gamma correction blocks (IGC) are not used today so lets
remove the usage of DPU_DSPP_IGC in the dspp flush to make it easier
to remove IGC from the catalog.
We can add this back when IGC is properly supported in DPU with
one of the standard DRM properties.
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 3 ---
1 file changed, 3 deletions(-)
Comments
On 26/04/2023 22:22, Abhinav Kumar wrote: > Inverse gamma correction blocks (IGC) are not used today so lets > remove the usage of DPU_DSPP_IGC in the dspp flush to make it easier > to remove IGC from the catalog. > > We can add this back when IGC is properly supported in DPU with > one of the standard DRM properties. > > Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
DSPP* On 2023-04-26 12:22:44, Abhinav Kumar wrote: > Inverse gamma correction blocks (IGC) are not used today so lets > remove the usage of DPU_DSPP_IGC in the dspp flush to make it easier DSPP* > to remove IGC from the catalog. > > We can add this back when IGC is properly supported in DPU with > one of the standard DRM properties. > > Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c > index 57adaebab563..b2a1f83ac72c 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c > @@ -330,9 +330,6 @@ static void dpu_hw_ctl_update_pending_flush_dspp_sub_blocks( > return; > > switch (dspp_sub_blk) { > - case DPU_DSPP_IGC: > - ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(2); > - break; > case DPU_DSPP_PCC: > ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(4); > break; > -- > 2.40.1 >
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c index 57adaebab563..b2a1f83ac72c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c @@ -330,9 +330,6 @@ static void dpu_hw_ctl_update_pending_flush_dspp_sub_blocks( return; switch (dspp_sub_blk) { - case DPU_DSPP_IGC: - ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(2); - break; case DPU_DSPP_PCC: ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(4); break;