From nobody Sat Nov 30 06:29:29 2024 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C46F188598; Thu, 12 Sep 2024 07:15:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726125319; cv=none; b=ugQjlXDjfv32zHeiUiW1FxygTlTak+ACEV7U9jChL/P7GreCqTOg+inCNqooahvhdsmsm2kcPC6CqytDBVjo04KuRlViropBGJ/qIdebSEY0pWzuTuFf0kahnic3l95Nrm81guSxL6yVnz/My+IVHETJEfq1lP2nt4k+qsVZfQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726125319; c=relaxed/simple; bh=yn65W8pnqhvxEOvAFfwsSraNEKxJh7kyfKinRk5QFCY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sHmNmAnuWcBib146WjKTOWH4gBKwpe0ajgyOpzHpbnC7RlemmKoFo76CctsacQ/dsk3egSD9YTK4lbONFCRDR1Yw5laNPBJS1NPAczDP9JJwcxRciYQCYoYBItK0M7fTnkGAR06diWVNb3EtI4HpR10csn8JR4gW42w+awxdGsc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=bBrWDzXt; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="bBrWDzXt" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48C2L2MJ029584; Thu, 12 Sep 2024 07:15:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=pifT2EiLaVv JilmU4UaX30atEhINZCTGLpTImn4x1/g=; b=bBrWDzXtg4gLJRY09Q/E+XEMH/A CtSskqWWac6QPciWPsuqzgLNcy2XsoUJqclgpclH4rnSaQD4wOEnvDmE6ouwqLHl wZDZZqYkt3mbXR0Z+sSnGyLc4CQ1P+F/pBGSToJUV0iRha+SvxRk5i+RZhZ2Xpx4 3bo0/LwN7hqT2O30tTpXz5ooP3dZqewpO7XY2Z138/LTeC6vPVeodQ7lL0BJBRP+ EH52u0PhGgA5PqUqjR3z714ncvKe0qwEPGuXyaQXHCMvHna3lU0IwpJ8sMiCqnEn wg1DRoNgvkvSy1M+FmSmGKOC3NNYODd0ruhWE1V0ipOYQY4SGPVZgaQUykA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41he5e3f9k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2024 07:15:00 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 48C7Etnx000426; Thu, 12 Sep 2024 07:14:55 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 41h168ypm3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2024 07:14:55 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 48C7Et34000394; Thu, 12 Sep 2024 07:14:55 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-mahap-hyd.qualcomm.com [10.213.96.84]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 48C7EskQ000392 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Sep 2024 07:14:55 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 2365311) id 68F18AFA; Thu, 12 Sep 2024 12:44:53 +0530 (+0530) From: Mahadevan To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, marijn.suijten@somainline.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, swboyd@chromium.org, konrad.dybcio@linaro.org, danila@jiaxyga.com, bigfoot@classfun.cn, neil.armstrong@linaro.org, mailingradian@gmail.com, quic_jesszhan@quicinc.com, andersson@kernel.org Cc: Mahadevan , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_kalyant@quicinc.com, quic_jmadiset@quicinc.com, quic_vpolimer@quicinc.com Subject: [PATCH 3/5] drm/msm: mdss: Add SA8775P support Date: Thu, 12 Sep 2024 12:44:35 +0530 Message-Id: <20240912071437.1708969-4-quic_mahap@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240912071437.1708969-1-quic_mahap@quicinc.com> References: <20240912071437.1708969-1-quic_mahap@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: L0iSBabEzSs6cORX8kVoCR26Otd2hcfc X-Proofpoint-GUID: L0iSBabEzSs6cORX8kVoCR26Otd2hcfc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409120049 Content-Type: text/plain; charset="utf-8" Add support for MDSS on SA8775P. Signed-off-by: Mahadevan --- drivers/gpu/drm/msm/msm_mdss.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index faa88fd6eb4d..272207573dbb 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -684,6 +684,15 @@ static const struct msm_mdss_data sm8350_data =3D { .reg_bus_bw =3D 74000, }; =20 +static const struct msm_mdss_data sa8775p_data =3D { + .ubwc_enc_version =3D UBWC_4_0, + .ubwc_dec_version =3D UBWC_4_0, + .ubwc_swizzle =3D 4, + .ubwc_static =3D 1, + .highest_bank_bit =3D 0, + .macrotile_mode =3D 1, +}; + static const struct msm_mdss_data sm8550_data =3D { .ubwc_enc_version =3D UBWC_4_0, .ubwc_dec_version =3D UBWC_4_3, @@ -725,6 +734,7 @@ static const struct of_device_id mdss_dt_match[] =3D { { .compatible =3D "qcom,sm8250-mdss", .data =3D &sm8250_data }, { .compatible =3D "qcom,sm8350-mdss", .data =3D &sm8350_data }, { .compatible =3D "qcom,sm8450-mdss", .data =3D &sm8350_data }, + { .compatible =3D "qcom,sa8775p-mdss", .data =3D &sa8775p_data }, { .compatible =3D "qcom,sm8550-mdss", .data =3D &sm8550_data }, { .compatible =3D "qcom,sm8650-mdss", .data =3D &sm8550_data}, { .compatible =3D "qcom,x1e80100-mdss", .data =3D &x1e80100_data}, --=20 2.34.1