Skip to content

Commit 4d1cd4c

Browse files
Mahadevanlumag
authored andcommitted
drm/msm: mdss: Add SA8775P support
Add Mobile Display Subsystem (MDSS) support for the SA8775P platform. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mahadevan <quic_mahap@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/620496/ Link: https://lore.kernel.org/r/20241019-patchv3_1-v5-3-d2fb72c9a845@quicinc.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent 546f8d6 commit 4d1cd4c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

drivers/gpu/drm/msm/msm_mdss.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,16 @@ static const struct msm_mdss_data qcm2290_data = {
573573
.reg_bus_bw = 76800,
574574
};
575575

576+
static const struct msm_mdss_data sa8775p_data = {
577+
.ubwc_enc_version = UBWC_4_0,
578+
.ubwc_dec_version = UBWC_4_0,
579+
.ubwc_swizzle = 4,
580+
.ubwc_static = 1,
581+
.highest_bank_bit = 0,
582+
.macrotile_mode = 1,
583+
.reg_bus_bw = 74000,
584+
};
585+
576586
static const struct msm_mdss_data sc7180_data = {
577587
.ubwc_enc_version = UBWC_2_0,
578588
.ubwc_dec_version = UBWC_2_0,
@@ -710,6 +720,7 @@ static const struct of_device_id mdss_dt_match[] = {
710720
{ .compatible = "qcom,mdss" },
711721
{ .compatible = "qcom,msm8998-mdss", .data = &msm8998_data },
712722
{ .compatible = "qcom,qcm2290-mdss", .data = &qcm2290_data },
723+
{ .compatible = "qcom,sa8775p-mdss", .data = &sa8775p_data },
713724
{ .compatible = "qcom,sdm670-mdss", .data = &sdm670_data },
714725
{ .compatible = "qcom,sdm845-mdss", .data = &sdm845_data },
715726
{ .compatible = "qcom,sc7180-mdss", .data = &sc7180_data },

0 commit comments

Comments
 (0)