From patchwork Fri Dec 8 05:06: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: 175565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5249247vqy; Thu, 7 Dec 2023 21:07:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfILvmPUeutC14dXZDZ6Ef0N6kB21yY2okIBZkBnIo2wg5N4qtl1bX4UqW17cPFESgQcw0 X-Received: by 2002:a05:6830:670f:b0:6d8:7f67:f005 with SMTP id cr15-20020a056830670f00b006d87f67f005mr3975893otb.7.1702012068690; Thu, 07 Dec 2023 21:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702012068; cv=none; d=google.com; s=arc-20160816; b=JX2jOXB922EA5IO6LeiYTXm6Emv9/N6IkVcQQtS6qovQ5UOy1slwRwcFbldx5KPRa1 reURI3oazUp+QT4P2UopAvyoqYRibl5VkXBroWp5p9ZUFElv1vBI338gGD5/W35ab2bs 3ejA2LwjckUD8YePfMl/SU8W4KfYUo8GwgU1yZnq2oZJnvPp0NXjpBfviC/tqWcth0P/ bvr84til3j7sxTPhba6Fx+yxZUo+K5o9wmz3J0B85TwjcxySgmdOKQhMcrkx+7a/Z2YK Y/xH4oyjbQcjbvo2m7Bp+FG+HuSStz0gOpY9oKzPgAIJ5v3x0Rr2KBVIWr9EeC3kI/SF Vhow== 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=Eiem0oWqs1y6FRQaf92v2NUPBW9tWllWlVtQqP2IPhU=; fh=bCPr6FtHW7vqpnFZy/5ChZdmzRzyfr1lCT+1Yh+hWj4=; b=WY5hgVhF4Ox1pq3ewYAKstFsd4EMIulwaNxZF09ys7MRovEOQtQHdRcZr8g3jYUM2u LrDdhFJ1asS1ZXaooyChggW0P6EuaCMGcp/sUZ2kGE51XYjSufOY878Abb+M1fW4VvFo h28mQIz1jW9AnqBJ1J8cVbHcOEMRc5avXElzGTxwl2wontAdJY+bZ83YGckiqTCCZtcT qWTMGXH9mnlPiXKndc3bSikgEK6B4ZoQen93OuirBjGdmhrbMe5pLtBkSHEm5B7vYMTy BIMtZysjyMsO6Sd3h9jDhVETC/gnWX0qPUBkU+hE2j7gYQn6HRkIG9k2NJNA5Q6ftt3x CzYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KdW83ctW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id ca10-20020a056a02068a00b005be0050a443si912590pgb.430.2023.12.07.21.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 21:07:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KdW83ctW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 80D2783393BB; Thu, 7 Dec 2023 21:07:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573182AbjLHFHW (ORCPT + 99 others); Fri, 8 Dec 2023 00:07:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbjLHFHJ (ORCPT ); Fri, 8 Dec 2023 00:07:09 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED471720; Thu, 7 Dec 2023 21:07:15 -0800 (PST) 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 3B84w3RW017209; Fri, 8 Dec 2023 05:07:10 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=Eiem0oWqs1y6FRQaf92v2NUPBW9tWllWlVtQqP2IPhU=; b=KdW83ctWlygKvjQuYm9p0suu8JK1ahDfygy3YdaXGsK/YjnuIkiycHgsk37jfem6uyad h4GxgPfq4N0I5OYclmUPrMzIR6yTXOBrpvELpNSZ0vZjnUC4iYbKVy8zibq0OUg322lO /YzfR3Qb01F3yIf8hxivx0PLw5I+1SjwHLo/xQi2acOaDDq7lFHN4WzXJ3vu8JNqf4wx nCKzLeiCpCFFm8wYRQNknS67xsXp+/uycxYivPRxwNH2fzzXwOQHtWMqXfVCLxKFW+n5 LSda3AGrW4Cs5Wx7uBBf4rbACKTzL2fN9l/kaVnCUgZpbmF77VnBMonPEZBf7jmmdrOX LA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uuj96h9nv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 05:07:10 +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 3B8579n7013611 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 05:07:09 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.1118.40; Thu, 7 Dec 2023 21:07:08 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v2 06/16] drm/msm/dpu: add cdm blocks to sm8250 dpu_hw_catalog Date: Thu, 7 Dec 2023 21:06:31 -0800 Message-ID: <20231208050641.32582-7-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231208050641.32582-1-quic_abhinavk@quicinc.com> References: <20231208050641.32582-1-quic_abhinavk@quicinc.com> MIME-Version: 1.0 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: hWcT_X-C1ycazk64ukSHwfSpdGl5m13h X-Proofpoint-ORIG-GUID: hWcT_X-C1ycazk64ukSHwfSpdGl5m13h X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-08_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 mlxlogscore=875 malwarescore=0 phishscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312080038 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 21:07:45 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784689006689564480 X-GMAIL-MSGID: 1784689006689564480 Add CDM blocks to the sm8250 dpu_hw_catalog to support YUV format output from writeback block. changes in v2: - re-use the cdm definition from sc7280 Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h index 2359c16e9206..58b0f50518c8 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h @@ -384,6 +384,7 @@ const struct dpu_mdss_cfg dpu_sm8250_cfg = { .mdss_ver = &sm8250_mdss_ver, .caps = &sm8250_dpu_caps, .mdp = &sm8250_mdp, + .cdm = &sc7280_cdm, .ctl_count = ARRAY_SIZE(sm8250_ctl), .ctl = sm8250_ctl, .sspp_count = ARRAY_SIZE(sm8250_sspp),