Commit 1e9b35fb authored by Robert Foss's avatar Robert Foss Committed by Dmitry Baryshkov

drm/msm: Add support for SM8350

Add compatibles string, "qcom,sm8350-mdss", for the multimedia display
subsystem unit used on Qualcomm SM8350 platform.
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/516345/
Link: https://lore.kernel.org/r/20221230153554.105856-6-robert.foss@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 5dfc1b2e
...@@ -286,6 +286,10 @@ static int msm_mdss_enable(struct msm_mdss *msm_mdss) ...@@ -286,6 +286,10 @@ static int msm_mdss_enable(struct msm_mdss *msm_mdss)
/* UBWC_2_0 */ /* UBWC_2_0 */
msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x11f); msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x11f);
break; break;
case DPU_HW_VER_700:
/* TODO: highest_bank_bit = 2 for LP_DDR4 */
msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_4_0, 6, 1, 3, 1);
break;
case DPU_HW_VER_720: case DPU_HW_VER_720:
msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_3_0, 6, 1, 1, 1); msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_3_0, 6, 1, 1, 1);
break; break;
...@@ -522,6 +526,7 @@ static const struct of_device_id mdss_dt_match[] = { ...@@ -522,6 +526,7 @@ static const struct of_device_id mdss_dt_match[] = {
{ .compatible = "qcom,sm6115-mdss" }, { .compatible = "qcom,sm6115-mdss" },
{ .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8150-mdss" },
{ .compatible = "qcom,sm8250-mdss" }, { .compatible = "qcom,sm8250-mdss" },
{ .compatible = "qcom,sm8350-mdss" },
{ .compatible = "qcom,sm8450-mdss" }, { .compatible = "qcom,sm8450-mdss" },
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment