OSDN Git Service

drm/i915/dsc: stop using interim structure for calculated params
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 17 May 2023 10:28:03 +0000 (13:28 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 19 May 2023 21:14:29 +0000 (17:14 -0400)
commit9ff6b5256de3843ee6a2ee91737554d96852963d
tree1cbe69db520efc6030fac9be241730032030bf3d
parent2b470e5531f57c1b9bfa129cca0ee17a2ecd2183
drm/i915/dsc: stop using interim structure for calculated params

Stop using an interim structure rc_parameters for storing calculated
params and then setting drm_dsc_config using that structure. Instead put
calculated params into the struct drm_dsc_config directly.

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-5-dmitry.baryshkov@linaro.org
drivers/gpu/drm/i915/display/intel_vdsc.c