drm/i915/dsc: configure hardware using specified rc_model_size
authorJani Nikula <jani.nikula@intel.com>
Tue, 8 Dec 2020 12:33:51 +0000 (14:33 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 10 Dec 2020 08:48:53 +0000 (10:48 +0200)
commite5b9cbd38135f3889dd3c83293c5815db9124804
treeb449110b2da32b51751e613fd4c3558d1c97ce02
parent1f22ed36913ed96ecf2a00789d906824e5f22384
drm/i915/dsc: configure hardware using specified rc_model_size

The rc_model_size is specified in the DSC config, and the hardware
programming should respect that instead of hard coding a value of 8192.

Regardless, the rc_model_size in DSC config is currently hard coded to
the same value, so this should have no impact, other than allowing the
use of other sizes as needed.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/27d86ad25832bbb985f6e996f3d02dca01a66895.1607429866.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c