Skip to content

Commit 15f2825

Browse files
committed
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: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/638407/ Link: https://lore.kernel.org/r/[email protected]
1 parent 51bc064 commit 15f2825

File tree

11 files changed

+11
-0
lines changed

11 files changed

+11
-0
lines changed

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ const struct dpu_mdss_cfg dpu_sm8650_cfg = {
452452
.mdss_ver = &sm8650_mdss_ver,
453453
.caps = &sm8650_dpu_caps,
454454
.mdp = &sm8650_mdp,
455+
.cdm = &dpu_cdm_5_x,
455456
.ctl_count = ARRAY_SIZE(sm8650_ctl),
456457
.ctl = sm8650_ctl,
457458
.sspp_count = ARRAY_SIZE(sm8650_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ const struct dpu_mdss_cfg dpu_sm8150_cfg = {
388388
.mdss_ver = &sm8150_mdss_ver,
389389
.caps = &sm8150_dpu_caps,
390390
.mdp = &sm8150_mdp,
391+
.cdm = &dpu_cdm_5_x,
391392
.ctl_count = ARRAY_SIZE(sm8150_ctl),
392393
.ctl = sm8150_ctl,
393394
.sspp_count = ARRAY_SIZE(sm8150_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ const struct dpu_mdss_cfg dpu_sc8180x_cfg = {
414414
.mdss_ver = &sc8180x_mdss_ver,
415415
.caps = &sc8180x_dpu_caps,
416416
.mdp = &sc8180x_mdp,
417+
.cdm = &dpu_cdm_5_x,
417418
.ctl_count = ARRAY_SIZE(sc8180x_ctl),
418419
.ctl = sc8180x_ctl,
419420
.sspp_count = ARRAY_SIZE(sc8180x_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_2_sm7150.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ const struct dpu_mdss_cfg dpu_sm7150_cfg = {
309309
.mdss_ver = &sm7150_mdss_ver,
310310
.caps = &sm7150_dpu_caps,
311311
.mdp = &sm7150_mdp,
312+
.cdm = &dpu_cdm_5_x,
312313
.ctl_count = ARRAY_SIZE(sm7150_ctl),
313314
.ctl = sm7150_ctl,
314315
.sspp_count = ARRAY_SIZE(sm7150_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ const struct dpu_mdss_cfg dpu_sm6150_cfg = {
248248
.mdss_ver = &sm6150_mdss_ver,
249249
.caps = &sm6150_dpu_caps,
250250
.mdp = &sm6150_mdp,
251+
.cdm = &dpu_cdm_5_x,
251252
.ctl_count = ARRAY_SIZE(sm6150_ctl),
252253
.ctl = sm6150_ctl,
253254
.sspp_count = ARRAY_SIZE(sm6150_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ const struct dpu_mdss_cfg dpu_sm6125_cfg = {
216216
.mdss_ver = &sm6125_mdss_ver,
217217
.caps = &sm6125_dpu_caps,
218218
.mdp = &sm6125_mdp,
219+
.cdm = &dpu_cdm_5_x,
219220
.ctl_count = ARRAY_SIZE(sm6125_ctl),
220221
.ctl = sm6125_ctl,
221222
.sspp_count = ARRAY_SIZE(sm6125_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ const struct dpu_mdss_cfg dpu_sc7180_cfg = {
204204
.mdss_ver = &sc7180_mdss_ver,
205205
.caps = &sc7180_dpu_caps,
206206
.mdp = &sc7180_mdp,
207+
.cdm = &dpu_cdm_5_x,
207208
.ctl_count = ARRAY_SIZE(sc7180_ctl),
208209
.ctl = sc7180_ctl,
209210
.sspp_count = ARRAY_SIZE(sc7180_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ const struct dpu_mdss_cfg dpu_sm6350_cfg = {
222222
.mdss_ver = &sm6350_mdss_ver,
223223
.caps = &sm6350_dpu_caps,
224224
.mdp = &sm6350_mdp,
225+
.cdm = &dpu_cdm_5_x,
225226
.ctl_count = ARRAY_SIZE(sm6350_ctl),
226227
.ctl = sm6350_ctl,
227228
.sspp_count = ARRAY_SIZE(sm6350_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ const struct dpu_mdss_cfg dpu_sm8350_cfg = {
396396
.mdss_ver = &sm8350_mdss_ver,
397397
.caps = &sm8350_dpu_caps,
398398
.mdp = &sm8350_mdp,
399+
.cdm = &dpu_cdm_5_x,
399400
.ctl_count = ARRAY_SIZE(sm8350_ctl),
400401
.ctl = sm8350_ctl,
401402
.sspp_count = ARRAY_SIZE(sm8350_sspp),

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ const struct dpu_mdss_cfg dpu_sm8450_cfg = {
412412
.mdss_ver = &sm8450_mdss_ver,
413413
.caps = &sm8450_dpu_caps,
414414
.mdp = &sm8450_mdp,
415+
.cdm = &dpu_cdm_5_x,
415416
.ctl_count = ARRAY_SIZE(sm8450_ctl),
416417
.ctl = sm8450_ctl,
417418
.sspp_count = ARRAY_SIZE(sm8450_sspp),

0 commit comments

Comments
 (0)