Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7517965rwd; Tue, 6 Jun 2023 11:56:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Nh7lUQfdwnuM5NY17iYc0sJxPg6BHOK7H7LEvnbo1HDkgxHMAf80yIhssWtLS6M9Gh5Z7 X-Received: by 2002:a05:6808:3ba:b0:39a:618b:17e2 with SMTP id n26-20020a05680803ba00b0039a618b17e2mr3005406oie.21.1686077767916; Tue, 06 Jun 2023 11:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686077767; cv=none; d=google.com; s=arc-20160816; b=mLI15PLlF6Ei92D+R6gYziUR1KpDI9iPEdndZmjjsfUDSZxt+dhyr23j9bT8gSzklN cM/sUYmA66qIQVmRJqY9ZpcoLEayhzxjb3lLRL75SJf7PjifZQYtYVdhygx+VmeUGhfK iaxteXCcvVVQbxSDp1Y+iSk/Q08xxd266KBKPhHy3fD7J+aDqA1utwi3wEj6FpwO8QnJ ohghFO92HqXXgHp8tFQiPOXFFQHWNgEi3PIN5HaQShMrpvrgOAAz10f1c8ZZSWnLYoFn YAbk40Nh14aNajLzGyCyKQdF9dfhsLOe0lkt9KUjSUWg/l1pf3kqLX0Nu0EwhZ7hNNuL qKyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=EVpOMtnDxkMC/Q6UMboi070vRyOglO8DIqxRhchhYJg=; b=NjUp4PtBUy49hYIYHpMDS+aMZc4Yq0ZD+Z4GOBl5oUZnvAz7Gc2JtlcNvix+N99Qyh esrsZgFS17cHfyl1emUFHKbonhXcsZoHWFHXDcHjPSp3gYPzbsW8w7Yx8kpdu9UBZVRE vbmaAujHNpHyE5FS1LQIb0GJmUX1qtMJHJQY3aUlsAiB2vkrq0v2EXr6jEEaVkE7jnC5 0U11xIAQlAt+iCWRLP6UF9dWa/CbELfchYm5u5sbYP/qQOiagnTtLtIv+69CzT/fUBDs SR4/78PWyMDdsfzA7hN/oSH1oKg038NIlIJmBj3bu/uSRtfWO0tfSQWFeZ/04cSEzrwp NeMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Cvob9o7F; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj9-20020a170903048900b001b039d82f9csi7509021plb.30.2023.06.06.11.55.55; Tue, 06 Jun 2023 11:56:07 -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=Cvob9o7F; 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 S238951AbjFFSct (ORCPT + 99 others); Tue, 6 Jun 2023 14:32:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238792AbjFFScj (ORCPT ); Tue, 6 Jun 2023 14:32:39 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BBF019A2; Tue, 6 Jun 2023 11:32:12 -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 356HEiSq020961; Tue, 6 Jun 2023 18:31:50 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-type; s=qcppdkim1; bh=EVpOMtnDxkMC/Q6UMboi070vRyOglO8DIqxRhchhYJg=; b=Cvob9o7FvlZuMyufpEo2jGYkjxYrjpDIg/6b/6/wrsB5oopTWjEJtUjYH4oNNpe8ah6c LmdaWEMc6HRKDUM4l+JvlO6fa63qTe3FNMtLjnECAB1xOI71oFSye2Rt3Db3MhzFIQsQ u5lZYP9di1y2EJpXNKoLWNIYHvBjiGPSu4Rhjr5Vu0EaxfZqDpZhMeBHy3QAqywjiW8c 15N6qle2bpreKDQ3xDuCcVciIy8aHiprkifPx8CSxAjgW8zTeXPxyHMRlIdpc0IPSuOk nyIQ/A+SdVm9md1T1bGv+D4YUucHGaiMMFrWyLKCAGGBFC7o4w0Wwn1LoaaDEBNbtktH vw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r1db9bqa5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jun 2023 18:31:49 +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 356IVnx5012073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Jun 2023 18:31:49 GMT Received: from khsieh-linux1.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; Tue, 6 Jun 2023 11:31:48 -0700 From: Kuogee Hsieh To: , , , , , , , , , , CC: , , , , , , , Subject: [PATCH v16] drm/msm/dpu: add DSC blocks to the catalog of MSM8998 and SC8180X Date: Tue, 6 Jun 2023 11:31:39 -0700 Message-ID: <1686076299-11504-1-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 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-ORIG-GUID: ubZGXY_P9sj1VL9RffKLha2J3rJydHtI X-Proofpoint-GUID: ubZGXY_P9sj1VL9RffKLha2J3rJydHtI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-06_13,2023-06-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306060158 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 From: Abhinav Kumar Some platforms have DSC blocks which have not been declared in the catalog. Complete DSC 1.1 support for all platforms by adding the missing blocks to MSM8998 and SC8180X. Changes in v9: -- add MSM8998 and SC8180x to commit title Changes in v10: -- fix grammar at commit text Changes in v12: -- fix "titil" with "title" at changes in v9 Changes in v14: -- "dsc" tp "DSC" at commit title Changes in v15: -- fix merge conflicts at dpu_5_1_sc8180x.h Changes in v16 -- fix cherry-pick error by deleting both redundant .dsc and .dsc_count assignment from dpu_5_1_sc8180x.h Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Reviewed-by: Marijn Suijten --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h index 3c732a0..7d0d0e7 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h @@ -126,6 +126,11 @@ static const struct dpu_pingpong_cfg msm8998_pp[] = { DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 15)), }; +static const struct dpu_dsc_cfg msm8998_dsc[] = { + DSC_BLK("dsc_0", DSC_0, 0x80000, 0), + DSC_BLK("dsc_1", DSC_1, 0x80400, 0), +}; + static const struct dpu_dspp_cfg msm8998_dspp[] = { DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_SC7180_MASK, &msm8998_dspp_sblk), @@ -199,6 +204,8 @@ const struct dpu_mdss_cfg dpu_msm8998_cfg = { .dspp = msm8998_dspp, .pingpong_count = ARRAY_SIZE(msm8998_pp), .pingpong = msm8998_pp, + .dsc_count = ARRAY_SIZE(msm8998_dsc), + .dsc = msm8998_dsc, .intf_count = ARRAY_SIZE(msm8998_intf), .intf = msm8998_intf, .vbif_count = ARRAY_SIZE(msm8998_vbif), -- 2.7.4