drm/msm/dpu: wire up MSM8998's DSPP blocks
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 22 Feb 2022 03:19:48 +0000 (06:19 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 23 Feb 2022 10:17:58 +0000 (13:17 +0300)
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.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Cc: Jami Kettunen <jami.kettunen@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/475544/
Link: https://lore.kernel.org/r/20220222031948.228727-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

index ddd13c9..a4fe77c 100644 (file)
@@ -1611,6 +1611,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),