Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4326680rdb; Mon, 11 Dec 2023 16:23:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNw2wfGeA/oYVBbxUUBJF2OrR/qNCHsmiRXh4hz21t3v4wwQbOrtvrNY/aEC94Z3jfZjaI X-Received: by 2002:a05:6a00:1988:b0:6ce:7b6d:b33c with SMTP id d8-20020a056a00198800b006ce7b6db33cmr2592809pfl.29.1702340619118; Mon, 11 Dec 2023 16:23:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702340619; cv=none; d=google.com; s=arc-20160816; b=CWn6sAzggUVoWVN8qq+xW12eEKEwacmtC0YDIvaChpYuqOYkHSkw3RfaV4VFkrLuFw YU8BcML5YoNlK/RpAK/z6Vc4Vl4vXaRKXog6yvGwv6++kksrmOu+3YWP169qZxXyO2aO ViocKt5yAFZe+moKIYeepM2QN+gIpS4PZ01Xu7HqTpAXeeAHsPYaWSOSp2J1c6+t/mY4 LeJ7TFFE6Kqo3bpzRvaKloXln3+vpvHsyPsfaFTrS1rJTaeEbv1HlqH8ISn1Hb7gcuvv tmU0bf5Iz2vJynI73yVoCxmS+THz02CqiM95Cim6akKWkdUVwrXh19PCNQGaVsYbN7Ci 3lGA== 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=tsxYs1fuHcx4vLRl1xXfE1z7QmpFwUZYGeyYd91+J2Y=; fh=2XyQDqDG0wz2VEIrVbLmdsbSBBAARfl7BOJG4nJ/HZo=; b=HctSsFKFHI3/mjWBchxFxDZ+QKZY5knXuYu9oVZ1QXK7gLddamJImyJnt195T1h03K g7jJBwA5KHMiM72q5i2/5I1yWBq4mhCRnfeDp9zaQ5/utD3sVVba5GwneLYLC6N+gWSO c4UOwESfrws5YHH8TWTRldoG/dYA6mZ5vioLc5Q6yxERrVrzGtqKvJhiI3/q5nLioaqW PCqB9OjEsWRnaYihelWZZRKDe1XXMu1bEU/Ivmfvbn+ieRON82IJ5AQW7i97D/JU2Pav j6gZw+Hn4LPEuMgIrx72GUhiMpljrDIoL1hid5f9jz+JgTV43BDxVaMYaFQV+JFLM8W3 mGXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jbzOhRcL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id h10-20020a63e14a000000b005c67bb15866si6917026pgk.52.2023.12.11.16.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:23:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jbzOhRcL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 8086F809B779; Mon, 11 Dec 2023 16:23:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345563AbjLLAXU (ORCPT + 99 others); Mon, 11 Dec 2023 19:23:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345500AbjLLAXP (ORCPT ); Mon, 11 Dec 2023 19:23:15 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B87D10B; Mon, 11 Dec 2023 16:23:15 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BBNvsQK013531; Tue, 12 Dec 2023 00:23:08 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=tsxYs1fuHcx4vLRl1xXfE1z7QmpFwUZYGeyYd91+J2Y=; b=jb zOhRcLZin3YtJduBFsaWZ+p7EIhNvGVb8PKVPDFePetQ2AykfvdRM5eNYtI3pqKI WEkWO8q9yNaAPMrdIkoFAry7wMyuA1mp4UG49gF2pCCGwdeRkvxnWq4Xe/V0TgU0 H18O749yJjJ8WOrBuHnaGWsvL38Y8f/9256X1gHo0PYLHSgKXklJeXSuv8F75VsF DnxiApZD+6y3zIPbrsM7mOWy1L7qtP6+9aYm49vjwNrb+OZyh9GolmP+0nO42iS4 mUM9TDL6HREqRe5AvZjT4duSQy5NBhBMbC2Ljb9LpBL195glk1xvuN9ZCm+khz/4 +Q9hhEQMVTKXwbuM85GA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxa900a4r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 00:23:07 +0000 (GMT) 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 3BC0N6XJ011020 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 00:23:06 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; Mon, 11 Dec 2023 16:23:06 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v3 06/15] drm/msm/dpu: add cdm blocks to sm8250 dpu_hw_catalog Date: Mon, 11 Dec 2023 16:22:36 -0800 Message-ID: <20231212002245.23715-7-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231212002245.23715-1-quic_abhinavk@quicinc.com> References: <20231212002245.23715-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: 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: bMbUkZfMeB3xGBNbTnruG4Heo9nSSXiw X-Proofpoint-ORIG-GUID: bMbUkZfMeB3xGBNbTnruG4Heo9nSSXiw 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-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 adultscore=0 mlxlogscore=995 malwarescore=0 impostorscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120001 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 16:23:36 -0800 (PST) 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), -- 2.40.1