diff options
author | Adam Skladowski <a39.skl@gmail.com> | 2022-11-24 03:16:32 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-11-26 13:06:20 +0300 |
commit | 3581b7062cec5a40b54acbd0dc28321d3aaa9fc7 (patch) | |
tree | 69850c49a7590cc88c3b9e3d10fdbbfad96a73ce /drivers/gpu/drm/msm/msm_mdss.c | |
parent | b93bdff44a85777c97d33159a2b4bff08f4d0e07 (diff) | |
download | linux-3581b7062cec5a40b54acbd0dc28321d3aaa9fc7.tar.xz |
drm/msm/disp/dpu1: add support for display on SM6115
Add required display hw catalog changes for SM6115.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/512875/
Link: https://lore.kernel.org/r/20221124001708.25720-3-a39.skl@gmail.com
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index e13c5c12b775..4b60637916c1 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -216,6 +216,10 @@ static int msm_mdss_enable(struct msm_mdss *msm_mdss) case DPU_HW_VER_620: writel_relaxed(0x1e, msm_mdss->mmio + UBWC_STATIC); break; + case DPU_HW_VER_630: + /* UBWC_2_0 */ + msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x11f); + break; case DPU_HW_VER_720: writel_relaxed(0x101e, msm_mdss->mmio + UBWC_STATIC); break; @@ -445,6 +449,7 @@ static const struct of_device_id mdss_dt_match[] = { { .compatible = "qcom,sc7180-mdss" }, { .compatible = "qcom,sc7280-mdss" }, { .compatible = "qcom,sc8180x-mdss" }, + { .compatible = "qcom,sm6115-mdss" }, { .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8250-mdss" }, {} |