From patchwork Wed Apr 26 19:20:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhinav Kumar X-Patchwork-Id: 87954 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp459753vqo; Wed, 26 Apr 2023 12:23:21 -0700 (PDT) X-Google-Smtp-Source: AKy350a3BKpYXacyWcAzBQUWBY6PtiOi+tvBTem+UNH46+CuseqNW79uMMli1foyiZHcKuvYHtEh X-Received: by 2002:a17:902:e5d1:b0:1a1:e237:5f0 with SMTP id u17-20020a170902e5d100b001a1e23705f0mr26652901plf.58.1682537000727; Wed, 26 Apr 2023 12:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682537000; cv=none; d=google.com; s=arc-20160816; b=zVEPAJvrWSAeS07kfXP0kz1wZXUKx6I9zcjD9uhF5R+QzVstl4F1fbNE4g8ee9MYZl s9r4yy19crwlM9PSixn9VXPwI3le/Tnq2yjzZ8HOhehENyiYMD63aXRVrQpb/+LjJ6N6 50bZBEXNLFCM3ngriBebPydmvws5uggXCpcCWb9tt/301+sO+s7YA0mzDOD+V1r1lPzG GFybonux1ErDnVGjzxjuvC00QdOTx1uXTfY4xtDyNGoskGvzg2VzzbHFJL9+sgkZZBhz dVnIIuW5mm0hKlRIC+5elByZY1SAVN2z28jFxrkwQ4VgPfD7OZk/YOZlVWJoYsfuqBX7 q9iw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=X3KbPkAaZyqX5PWWFmbrqUknCm8qSBqIRTdgqwju13g=; b=eaD6UPKTbeubic7keBWs+J17Q/XDRCa6pqtEfEZcyC0NLaHvWmSnsn2A5l3o7Zbx0a H0pVrdqRQpC/oMuVqIXZSJCAtiHSYBEndPp86Iu/MDls4POAbLxlcYhhFuMg4o4SbQBh s2Dfe25XMolMDLidzMKP7bKJH9hKD17usi6WlrmfnSziomEmHnm/Q6FZux2cA6r+fZoJ JyM9uSHW0boN6DgLuLcbWbpzCfYgMBGve5+pfl8NJ9Jcu/59dWIymwLrzhrAAwJ1sTel VDxUNV9wHe1gn052G6TDICLmzy2j1Ut+TCxRXibW7FZmZ9Fbwld6f/HSWYcgARDJFi0Y mlIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FcRVdE4B; 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 z14-20020a1709027e8e00b001a643243618si16104581pla.246.2023.04.26.12.23.08; Wed, 26 Apr 2023 12:23:20 -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=FcRVdE4B; 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 S239466AbjDZTVB (ORCPT + 99 others); Wed, 26 Apr 2023 15:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233550AbjDZTU7 (ORCPT ); Wed, 26 Apr 2023 15:20:59 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 635E5FF; Wed, 26 Apr 2023 12:20:58 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33QJK8Zw031326; Wed, 26 Apr 2023 19:20:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=X3KbPkAaZyqX5PWWFmbrqUknCm8qSBqIRTdgqwju13g=; b=FcRVdE4BTHapAnnIeu1vucDyTiXmGYdJ7+cSSaRuE3QGg1NQOgBtS4H7mrTfh8hg1e8h UFy/SyAW6bIS0ZKVxPyQEiqNm9tTnHjJieZkbT9mHhaIMVmaYNmvVckWdOsSg5bG08re KHAchfpLEI6JVyeMPqtbbJoTqB8kRCo/ExhQN9mVG/L8wPSVnX2un7NrYewqtPB5xHlF nYEbAlNZVtqpVUiNAHOq+7k2rbGZWQUdUqdQcjpWSJb0uQCReXq5svuNYItK0OD40XeN /ZQod6Iv3+nfGUBMDWl++Njthr02UzyUYBYwUw//2xSSMgBBJz6lF1oBK9m53hhel9/p OQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q70nese9x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:20:52 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33QJKlLL011846 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:20:47 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:20:46 -0700 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter CC: , , , , Subject: [PATCH 1/4] drm/msm/dpu: remove DPU_DSPP_GC handling in dspp flush Date: Wed, 26 Apr 2023 12:20:31 -0700 Message-ID: <20230426192035.5088-1-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: 8UGUtCv4e4HMPkVWBrjaaa90gjZqg302 X-Proofpoint-GUID: 8UGUtCv4e4HMPkVWBrjaaa90gjZqg302 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 clxscore=1015 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxlogscore=832 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 adultscore=0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764267918287198083?= X-GMAIL-MSGID: =?utf-8?q?1764267918287198083?= Gamma correction blocks (GC) are not used today so lets remove the usage of DPU_DSPP_GC in the dspp flush to make it easier to remove GC from the catalog. We can add this back when GC is properly supported in DPU with one of the standard DRM properties. Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20230421224721.12738-1-quic_abhinavk@quicinc.com --- 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 bbdc95ce374a..57adaebab563 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c @@ -336,9 +336,6 @@ static void dpu_hw_ctl_update_pending_flush_dspp_sub_blocks( case DPU_DSPP_PCC: ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(4); break; - case DPU_DSPP_GC: - ctx->pending_dspp_flush_mask[dspp - DSPP_0] |= BIT(5); - break; default: return; }