[PATCH 0/6] drm/msm/dpu: use UBWC data from MDSS driver
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun May 21 21:51:32 UTC 2023
On 22/05/2023 00:50, Steev Klimaszewski wrote:
> Hi Dmitry
>
> On Sun, May 21, 2023 at 12:28 PM Dmitry Baryshkov
> <dmitry.baryshkov at linaro.org> 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?
Yes, of course!
>
>> 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
>>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list