Hi Dmitry On Sun, May 21, 2023 at 12:28 PM Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> wrote: > > Both DPU and MDSS programming requires knowledge of some of UBWC > parameters. This results in duplication of UBWC data between MDSS and > DPU drivers. To remove such duplication and make the driver more > error-prone, export respective configuration from the MDSS driver and > make DPU use it, instead of bundling a copy of such data. > Surely you mean less error prone? > Dmitry Baryshkov (6): > drm/msm/mdss: correct UBWC programming for SM8550 > drm/msm/mdss: rename ubwc_version to ubwc_enc_version > drm/msm/mdss: export UBWC data > drm/msm/mdss: populate missing data > drm/msm/dpu: use MDSS data for programming SSPP > drm/msm/dpu: drop UBWC configuration > > .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 7 -- > .../msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 7 -- > .../msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 5 -- > .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 6 -- > .../msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 7 -- > .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 7 -- > .../msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 7 -- > .../msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 6 -- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 15 ---- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 18 ++-- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 7 +- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 16 +++- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 1 + > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 3 +- > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 2 + > drivers/gpu/drm/msm/msm_mdss.c | 90 ++++++++++++------- > drivers/gpu/drm/msm/msm_mdss.h | 27 ++++++ > 22 files changed, 122 insertions(+), 139 deletions(-) > create mode 100644 drivers/gpu/drm/msm/msm_mdss.h > > -- > 2.39.2 >