[Intel-gfx] [PATCH 0/7] drm/dsc: fixes and cleanups around rc_model_size

Jani Nikula jani.nikula at intel.com
Wed Jan 22 13:45:06 UTC 2020


Make it possible to adjust the rc_model_size parameter instead of
hardcoding it all over the place. Only actually change the size for i915
DSI DSC.

Patch 3 for AMD isn't really required, but it felt like a natural
cleanup to incorporate.

Vandita, please check if this helps with the DSI DSC woes.

BR,
Jani.


Jani Nikula (7):
  drm/dsc: use rc_model_size from DSC config for PPS
  drm/dsc: add helper for calculating rc buffer size from DPCD
  drm/amd/display: use drm_dsc_dp_rc_buffer_size() to get rc buffer size
  drm/i915/dsc: configure hardware using specified rc_model_size
  drm/i915/dsc: make rc_model_size an encoder defined value
  drm/i915/bios: fill in DSC rc_model_size from VBT
  drm/i915/dsi: use VBT data for rc_model_size

 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 37 ++++-----------------
 drivers/gpu/drm/drm_dsc.c                   | 30 +++++++++++++++--
 drivers/gpu/drm/i915/display/intel_bios.c   | 11 ++----
 drivers/gpu/drm/i915/display/intel_dp.c     |  8 +++++
 drivers/gpu/drm/i915/display/intel_vdsc.c   |  4 +--
 include/drm/drm_dsc.h                       |  1 +
 6 files changed, 48 insertions(+), 43 deletions(-)

-- 
2.20.1



More information about the Intel-gfx mailing list