[Freedreno] [PATCH 00/10] drm/i915: move DSC RC tables to drm_dsc_helper.c
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Feb 28 11:33:32 UTC 2023
Other platforms (msm) will benefit from sharing the DSC config setup
functions. This series moves parts of static DSC config data from the
i915 driver to the common helpers to be used by other drivers.
Note: the RC parameters were cross-checked against config files found in
DSC model 2021062, 20161212 (and 20150914). The first patch modifies
tables according to those config files, while preserving parameter
values using the code. I have not changed one of the values in the
pre-SCR config file as it clearly looks like a typo in the config file,
considering the table E in DSC 1.1 and in the DSC 1.1 SCR.
Dmitry Baryshkov (10):
drm/i915/dsc: change DSC param tables to follow the DSC model
drm/i915/dsc: move rc_buf_thresh values to common helper
drm/i915/dsc: move DSC tables to DRM DSC helper
drm/i915/dsc: stop using interim structure for calculated params
drm/display/dsc: use flat array for rc_parameters lookup
drm/display/dsc: split DSC 1.2 and DSC 1.1 (pre-SCR) parameters
drm/display/dsc: include the rest of pre-SCR parameters
drm/display/dsc: add YCbCr 4:2:2 and 4:2:0 RC parameters
drm/display/dsc: add helper to set semi-const parameters
drm/msm/dsi: use new helpers for DSC setup
drivers/gpu/drm/display/drm_dsc_helper.c | 1001 +++++++++++++++++++++
drivers/gpu/drm/i915/display/intel_vdsc.c | 432 +--------
drivers/gpu/drm/msm/dsi/dsi_host.c | 61 +-
include/drm/display/drm_dsc_helper.h | 10 +
4 files changed, 1058 insertions(+), 446 deletions(-)
--
2.39.2
More information about the Freedreno
mailing list