linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: Stephen Boyd <swboyd@chromium.org>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	Bjorn Andersson <andersson@kernel.org>,
	linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
	freedreno@lists.freedesktop.org
Subject: [RFC PATCH 3/4] drm/msm/mdss: add data for sc8180xp
Date: Thu,  8 Dec 2022 02:08:49 +0200	[thread overview]
Message-ID: <20221208000850.312548-4-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20221208000850.312548-1-dmitry.baryshkov@linaro.org>

Add platform data for sc8180xp based on sdmshrike-sde.dtsi.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/gpu/drm/msm/msm_mdss.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
index 4401f945b966..5e19ec897670 100644
--- a/drivers/gpu/drm/msm/msm_mdss.c
+++ b/drivers/gpu/drm/msm/msm_mdss.c
@@ -518,6 +518,12 @@ static const struct msm_mdss_data sc7280_data = {
 	.macrotile_mode = 1,
 };
 
+static const struct msm_mdss_data sc8180x_data = {
+	.ubwc_version = UBWC_3_0,
+	.highest_bank_bit = 3,
+	.macrotile_mode = 1,
+};
+
 static const struct msm_mdss_data sc8280xp_data = {
 	.ubwc_version = UBWC_4_0,
 	.ubwc_swizzle = 6,
@@ -553,7 +559,7 @@ static const struct of_device_id mdss_dt_match[] = {
 	{ .compatible = "qcom,sdm845-mdss" },
 	{ .compatible = "qcom,sc7180-mdss", .data = &sc7180_data },
 	{ .compatible = "qcom,sc7280-mdss", .data = &sc7280_data },
-	{ .compatible = "qcom,sc8180x-mdss" },
+	{ .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data },
 	{ .compatible = "qcom,sc8280xp-mdss", .data = &sc8280xp_data },
 	{ .compatible = "qcom,sm6115-mdss", .data = &sm6115_data },
 	{ .compatible = "qcom,sm8150-mdss", .data = &sm8150_data },
-- 
2.35.1


  parent reply	other threads:[~2022-12-08  0:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08  0:08 [RFC PATCH 0/4] drm/msm/mdss: rework UBWC setup Dmitry Baryshkov
2022-12-08  0:08 ` [RFC PATCH 1/4] drm/msm/mdss: convert UBWC setup to use match data Dmitry Baryshkov
2023-01-09 19:53   ` Abhinav Kumar
2023-01-09 20:17     ` Dmitry Baryshkov
2023-01-09 20:32       ` Abhinav Kumar
2023-01-09 21:11         ` Dmitry Baryshkov
2023-01-09 21:52           ` Abhinav Kumar
2023-01-11  8:44         ` Marijn Suijten
2023-01-11 15:11           ` Dmitry Baryshkov
2023-01-11 22:21             ` Marijn Suijten
2023-01-13 19:09               ` Abhinav Kumar
2022-12-08  0:08 ` [RFC PATCH 2/4] drm/msm/mdss: correct the ubwc version for sm6115 platform Dmitry Baryshkov
2023-01-13 19:47   ` Abhinav Kumar
2023-01-13 21:16     ` Dmitry Baryshkov
2023-01-13 21:39       ` Abhinav Kumar
2022-12-08  0:08 ` Dmitry Baryshkov [this message]
2023-01-13 20:18   ` [RFC PATCH 3/4] drm/msm/mdss: add data for sc8180xp Abhinav Kumar
2022-12-08  0:08 ` [RFC PATCH 4/4] drm/msm/mdss: add the sdm845 data for completeness Dmitry Baryshkov
2023-01-13 22:23   ` Abhinav Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221208000850.312548-4-dmitry.baryshkov@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=airlied@gmail.com \
    --cc=andersson@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=quic_abhinavk@quicinc.com \
    --cc=robdclark@gmail.com \
    --cc=sean@poorly.run \
    --cc=swboyd@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).