Skip to content

Commit cf4d77b

Browse files
abelvesalumag
authored andcommitted
drm/msm: mdss: Add X1E80100 support
Add support for MDSS on X1E80100. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/579079/ Link: https://lore.kernel.org/r/20240220-x1e80100-display-v4-3-971afd9de861@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent 81de267 commit cf4d77b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

drivers/gpu/drm/msm/msm_mdss.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,18 @@ static const struct msm_mdss_data sm8550_data = {
687687
.macrotile_mode = 1,
688688
.reg_bus_bw = 57000,
689689
};
690+
691+
static const struct msm_mdss_data x1e80100_data = {
692+
.ubwc_enc_version = UBWC_4_0,
693+
.ubwc_dec_version = UBWC_4_3,
694+
.ubwc_swizzle = 6,
695+
.ubwc_static = 1,
696+
/* TODO: highest_bank_bit = 2 for LP_DDR4 */
697+
.highest_bank_bit = 3,
698+
.macrotile_mode = 1,
699+
/* TODO: Add reg_bus_bw with real value */
700+
};
701+
690702
static const struct of_device_id mdss_dt_match[] = {
691703
{ .compatible = "qcom,mdss" },
692704
{ .compatible = "qcom,msm8998-mdss", .data = &msm8998_data },
@@ -707,6 +719,7 @@ static const struct of_device_id mdss_dt_match[] = {
707719
{ .compatible = "qcom,sm8450-mdss", .data = &sm8350_data },
708720
{ .compatible = "qcom,sm8550-mdss", .data = &sm8550_data },
709721
{ .compatible = "qcom,sm8650-mdss", .data = &sm8550_data},
722+
{ .compatible = "qcom,x1e80100-mdss", .data = &x1e80100_data},
710723
{}
711724
};
712725
MODULE_DEVICE_TABLE(of, mdss_dt_match);

0 commit comments

Comments
 (0)