Skip to contentSkip to conversation

drm/msm/dpu: wire up MSM8998's DSPP blocks

PATCH In review Dmitry Baryshkov 2 participants 2 messages Feb 22, 2022 – Feb 25, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm/dpu: wire up MSM8998's DSPP blocks

The commit adding msm8998 support didn't added msm8998's DSPP blocks configuration, but did not use them in msm8998_cfg_init(). Wire them up to be used for display post processing.

Fixes 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog")
Cc AngeloGioacchino Del Regno <[email protected]>
Cc Jami Kettunen <[email protected]>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +2 -0
index aa4d20762ccb..f74bc7acd901 100644
@@ -1496,6 +1496,8 @@ static void msm8998_cfg_init(struct dpu_mdss_cfg *dpu_cfg)
 		.sspp = msm8998_sspp,
 		.mixer_count = ARRAY_SIZE(msm8998_lm),
 		.mixer = msm8998_lm,
+		.dspp_count = ARRAY_SIZE(msm8998_dspp),
+		.dspp = msm8998_dspp,
 		.pingpong_count = ARRAY_SIZE(sdm845_pp),
 		.pingpong = sdm845_pp,
 		.intf_count = ARRAY_SIZE(msm8998_intf),
Signature · 1 line
2.34.1
#1 lore raw
Quoted 1 line · Dmitry Baryshkov

The commit adding msm8998 support didn't added msm8998's DSPP blocks

You might have meant: [did*] add(ed) msm8998's DSPP blocks configuration [to the source /code file], but did not...

Or however you wish to word this :)

- Marijn

Quoted 28 lines

configuration, but did not use them in msm8998_cfg_init(). Wire them up to be used for display post processing.

Fixes 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog")
Cc AngeloGioacchino Del Regno <[email protected]>
Cc Jami Kettunen <[email protected]>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +2 -0
index aa4d20762ccb..f74bc7acd901 100644
@@ -1496,6 +1496,8 @@ static void msm8998_cfg_init(struct dpu_mdss_cfg *dpu_cfg)
 		.sspp = msm8998_sspp,
 		.mixer_count = ARRAY_SIZE(msm8998_lm),
 		.mixer = msm8998_lm,
+		.dspp_count = ARRAY_SIZE(msm8998_dspp),
+		.dspp = msm8998_dspp,
 		.pingpong_count = ARRAY_SIZE(sdm845_pp),
 		.pingpong = sdm845_pp,
 		.intf_count = ARRAY_SIZE(msm8998_intf),
Signature · 1 line
2.34.1