Commit 15f2825d authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

drm/msm/dpu: enable CDM_0 for DPUs 5.x+



Enable the CDM_0 block on DPU generations starting from 5.x as
documented in the vendor dtsi file.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/638407/
Link: https://lore.kernel.org/r/20250220-dpu-add-cdm-v2-2-77f5f0df3d9a@linaro.org
parent 51bc0640
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -452,6 +452,7 @@ const struct dpu_mdss_cfg dpu_sm8650_cfg = {
	.mdss_ver = &sm8650_mdss_ver,
	.caps = &sm8650_dpu_caps,
	.mdp = &sm8650_mdp,
	.cdm = &dpu_cdm_5_x,
	.ctl_count = ARRAY_SIZE(sm8650_ctl),
	.ctl = sm8650_ctl,
	.sspp_count = ARRAY_SIZE(sm8650_sspp),
+1 −0
Original line number Diff line number Diff line
@@ -388,6 +388,7 @@ const struct dpu_mdss_cfg dpu_sm8150_cfg = {
	.mdss_ver = &sm8150_mdss_ver,
	.caps = &sm8150_dpu_caps,
	.mdp = &sm8150_mdp,
	.cdm = &dpu_cdm_5_x,
	.ctl_count = ARRAY_SIZE(sm8150_ctl),
	.ctl = sm8150_ctl,
	.sspp_count = ARRAY_SIZE(sm8150_sspp),
+1 −0
Original line number Diff line number Diff line
@@ -414,6 +414,7 @@ const struct dpu_mdss_cfg dpu_sc8180x_cfg = {
	.mdss_ver = &sc8180x_mdss_ver,
	.caps = &sc8180x_dpu_caps,
	.mdp = &sc8180x_mdp,
	.cdm = &dpu_cdm_5_x,
	.ctl_count = ARRAY_SIZE(sc8180x_ctl),
	.ctl = sc8180x_ctl,
	.sspp_count = ARRAY_SIZE(sc8180x_sspp),
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ const struct dpu_mdss_cfg dpu_sm7150_cfg = {
	.mdss_ver = &sm7150_mdss_ver,
	.caps = &sm7150_dpu_caps,
	.mdp = &sm7150_mdp,
	.cdm = &dpu_cdm_5_x,
	.ctl_count = ARRAY_SIZE(sm7150_ctl),
	.ctl = sm7150_ctl,
	.sspp_count = ARRAY_SIZE(sm7150_sspp),
+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ const struct dpu_mdss_cfg dpu_sm6150_cfg = {
	.mdss_ver = &sm6150_mdss_ver,
	.caps = &sm6150_dpu_caps,
	.mdp = &sm6150_mdp,
	.cdm = &dpu_cdm_5_x,
	.ctl_count = ARRAY_SIZE(sm6150_ctl),
	.ctl = sm6150_ctl,
	.sspp_count = ARRAY_SIZE(sm6150_sspp),
Loading