mbox series

[RFC,0/4] drm/msm/mdss: rework UBWC setup

Message ID 20221208000850.312548-1-dmitry.baryshkov@linaro.org
Headers show
Series drm/msm/mdss: rework UBWC setup | expand

Message

Dmitry Baryshkov Dec. 8, 2022, 12:08 a.m. UTC
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(-)