OSDN Git Service

drm/i915/dsc: change DSC param tables to follow the DSC model
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 17 May 2023 10:28:00 +0000 (13:28 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 19 May 2023 21:12:49 +0000 (17:12 -0400)
commita8c4b36ecac1d71bfde8d1f64a30ce694c4fc44d
treef95959360e7ab974c0ac27371d716e205dff2868
parent234fcb978f61f53bc05c276f6204332fde2b4951
drm/i915/dsc: change DSC param tables to follow the DSC model

After cross-checking DSC models (201509142016121220210623) change
values in rc_parameters tables to follow config files present inside
the DSC model. Handle two places, where i915 tables diverged from the
model, by patching the rc values in the code.

Note: I left one case uncorrected, 8bpp/10bpc/range_max_qp[0], because
the table in the VESA DSC 1.1 sets it to 4.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230517102807.2181589-2-dmitry.baryshkov@linaro.org
drivers/gpu/drm/i915/display/intel_vdsc.c