diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-01-18 04:04:27 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-04-06 20:29:39 +0300 |
commit | aeff6bb5b1ef64f4751b491cb4777404594a1ed7 (patch) | |
tree | aabe65bd47a24312d661ad629c6ba28a77a3a0b1 /drivers/gpu/drm/msm/msm_mdss.c | |
parent | d68db6069a8e58644d103d5235f13085294aca70 (diff) | |
download | linux-aeff6bb5b1ef64f4751b491cb4777404594a1ed7.tar.xz |
drm/msm/mdss: add data for sc8180xp
Add platform data for sc8180xp based on sdmshrike-sde.dtsi.
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/518782/
Link: https://lore.kernel.org/r/20230118010428.1671443-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_mdss.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_mdss.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index cc694a924ed2..c3aec2b3ac05 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -516,6 +516,13 @@ static const struct msm_mdss_data sc7280_data = { .macrotile_mode = 1, }; +static const struct msm_mdss_data sc8180x_data = { + .ubwc_version = UBWC_3_0, + .ubwc_dec_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_dec_version = UBWC_4_0, @@ -555,7 +562,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 }, |