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 4/4] drm/msm/mdss: add the sdm845 data for completeness
Date: Thu, 8 Dec 2022 02:08:50 +0200 [thread overview]
Message-ID: <20221208000850.312548-5-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20221208000850.312548-1-dmitry.baryshkov@linaro.org>
Add the platform data for sdm845 platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/gpu/drm/msm/msm_mdss.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
index 5e19ec897670..b2c6e8b12469 100644
--- a/drivers/gpu/drm/msm/msm_mdss.c
+++ b/drivers/gpu/drm/msm/msm_mdss.c
@@ -532,6 +532,11 @@ static const struct msm_mdss_data sc8280xp_data = {
.macrotile_mode = 1,
};
+static const struct msm_mdss_data sdm845_data = {
+ .ubwc_version = UBWC_2_0,
+ .highest_bank_bit = 2,
+};
+
static const struct msm_mdss_data sm8150_data = {
.ubwc_version = UBWC_3_0,
.highest_bank_bit = 2,
@@ -556,7 +561,7 @@ static const struct of_device_id mdss_dt_match[] = {
{ .compatible = "qcom,mdss" },
{ .compatible = "qcom,msm8998-mdss" },
{ .compatible = "qcom,qcm2290-mdss" },
- { .compatible = "qcom,sdm845-mdss" },
+ { .compatible = "qcom,sdm845-mdss", .data = &sdm845_data },
{ .compatible = "qcom,sc7180-mdss", .data = &sc7180_data },
{ .compatible = "qcom,sc7280-mdss", .data = &sc7280_data },
{ .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data },
--
2.35.1
next prev 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 ` [RFC PATCH 3/4] drm/msm/mdss: add data for sc8180xp Dmitry Baryshkov
2023-01-13 20:18 ` Abhinav Kumar
2022-12-08 0:08 ` Dmitry Baryshkov [this message]
2023-01-13 22:23 ` [RFC PATCH 4/4] drm/msm/mdss: add the sdm845 data for completeness 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-5-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).