From patchwork Wed Apr 26 19:20:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhinav Kumar X-Patchwork-Id: 87963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp464654vqo; Wed, 26 Apr 2023 12:33:59 -0700 (PDT) X-Google-Smtp-Source: AKy350ZREQVWk+PiOx2ZsimUxD4MV6rUgWREn16yQ96G+h1P+hhN1HIMKxJkeU6WcsTiKHoHYMcS X-Received: by 2002:a17:90a:ac05:b0:237:44c3:df0b with SMTP id o5-20020a17090aac0500b0023744c3df0bmr20910328pjq.32.1682537638856; Wed, 26 Apr 2023 12:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682537638; cv=none; d=google.com; s=arc-20160816; b=Jmid4+ef0ssEv6oskMdy0GrSirzMxtOUWHUJww7kXE98uJz39UG1+QCT040THaEzq+ QL7LUb/TWsjc3acrEXFxXcUd4eoFExDOMbsm771/ehFWokANX4DptafffHqjMHaEvqAV 052rw8GEnCiCY3F4VVZpFzZXDZv//H6Vwp7cMVASWrjH9ACuqFN1XKFUQ4/pv9XlXkWI dBoOjeM48p3EqfubX4KiO00GhZ63L8TjAy/O60mB6DsnsHkTanTOOyrwu8QKojDMs+XR 69Vph6fpUbW9/nDdEoWUFtTx3+tOWTcpvaNybMIL80Hh41xBB/D4S+TQail4LDGMPd20 2baQ== 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=maA/TX5A/fQmmeC58WepmriUiYfCx8KyEHn7Ps6YxLHp3N7UAh1wBAYseWYt+MHVi3 m+c6yQyenYnqIcBwAT7uMLBtk9V6yp4KI38s/zCy0i2lQ+QRYAwe5OgT997G73ogvuQ0 xe1JY0Pp3WZGQZhZKrJc3uIzFNmbQ2JjbXPXAFqwrMK24Y7eZbVUCBBL/EbHejqoD5Aa lX3CpBjTNIZyl8KvbrOC7hFHUIiVf/dLQCo7WaUky4iRzwRPNrftFsGxo706c50YEkCW i5tBRNt/KUSlsMEf/nsTkAq1ICg8ehhZJi8iuKOySspPwG0rFDibvvi41SwiNkHKE+zB ARzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lp4jkiV6; 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 j65-20020a638b44000000b0052004f9add5si17142424pge.551.2023.04.26.12.33.45; Wed, 26 Apr 2023 12:33:58 -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=Lp4jkiV6; 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 S239494AbjDZTVD (ORCPT + 99 others); Wed, 26 Apr 2023 15:21:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232813AbjDZTU7 (ORCPT ); Wed, 26 Apr 2023 15:20:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B37DB188; Wed, 26 Apr 2023 12:20:58 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33QFutcF005107; Wed, 26 Apr 2023 19:20:50 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=Lp4jkiV6+6KbiI8GXEpM0p1ohG4LwQKZIyM0rx5XmfjMc30zMNe4brwrZSTJQXhzIAMp NC5ci/A2oGMY6htK/B/4gw3OJUOQeXurKGBpbrYGXBF2Q0GKgO09oW1m1/k55xN6rV2z Wnu85pEuKpmtFtpbGZpC7uE4a5poXGWZ2FCUtcj+FxbgX6HkYMaSrtctrmlhYlOYBW6F 0E0PlBBjyFq0qQhO5fAHHvbwcdJVKSRwBb4xTAjXEYb8VudWvebAoUA+bH2EhS4vTgyr w2fnemRPF25ZlsCfMrpx0RxSCv5UeeTSrEgDjD+cejnju9ED8CIlvWIZzW0vpL/9U7Fv Pw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q6x62ht0m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:20:50 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33QJKnS4020436 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 19:20:49 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:49 -0700 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter CC: , , , , Subject: [PATCH 2/4] drm/msm/dpu: remove DPU_DSPP_IGC handling in dspp flush Date: Wed, 26 Apr 2023 12:20:32 -0700 Message-ID: <20230426192035.5088-2-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230426192035.5088-1-quic_abhinavk@quicinc.com> References: <20230426192035.5088-1-quic_abhinavk@quicinc.com> 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-GUID: wtivMk240fwDD87RecvgWH_v3dF37err X-Proofpoint-ORIG-GUID: wtivMk240fwDD87RecvgWH_v3dF37err 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 lowpriorityscore=0 adultscore=0 phishscore=0 spamscore=0 malwarescore=0 impostorscore=0 suspectscore=0 mlxscore=0 bulkscore=0 clxscore=1015 mlxlogscore=841 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304260172 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1764268586870883671?= X-GMAIL-MSGID: =?utf-8?q?1764268586870883671?= 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 --- 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;