]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/display/dsc: use flat array for rc_parameters lookup
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 17 May 2023 10:28:04 +0000 (13:28 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 19 May 2023 21:14:35 +0000 (17:14 -0400)
commit74fe874cf1407d4731f0a2c713d31ac78a5b32bd
tree1c2139a46187529ff174d2ff276cf54683d8e001
parent9ff6b5256de3843ee6a2ee91737554d96852963d
drm/display/dsc: use flat array for rc_parameters lookup

Next commits are going to add support for additional RC parameter lookup
tables. These tables are going to use different bpp/bpc combinations,
thus it makes little sense to keep the 2d array for RC parameters.
Switch to using the flat array.

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-6-dmitry.baryshkov@linaro.org
Acked-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/display/drm_dsc_helper.c