[RFC PATCH 0/4] drm/msm/mdss: rework UBWC setup
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Dec 8 00:08:46 UTC 2022
The commit 92bab9142456 ("drm/msm: less magic numbers in
msm_mdss_enable") reworked the static UBWC setup to replace magic
numbers with calulating written values from the SoC/device parameters.
This simplified adding new platforms.
However I did not estimate that the values would still be cryptic and
would be C&P-sted instead of being determined from the vendor DT. Some
of the platform (sc8180x) completely missed this setup step.
This series attempts to rework the static UBWC setup to be both
manageable and hopefully easier to write.
The series (being an RFC) depends on three pending platforms series
(sc8280xp, sm8350 and sm8450) with minor fixes applied on top of them
(e.g. to fix the hbb on sm8350).
Dmitry Baryshkov (4):
drm/msm/mdss: convert UBWC setup to use match data
drm/msm/mdss: correct the ubwc version for sm6115 platform
drm/msm/mdss: add data for sc8180xp
drm/msm/mdss: add the sdm845 data for completeness
drivers/gpu/drm/msm/msm_mdss.c | 173 ++++++++++++++++++++-------------
1 file changed, 107 insertions(+), 66 deletions(-)
--
2.35.1
More information about the dri-devel
mailing list