[PATCH 00/10] DP DSC min/max src bpc fixes

Ankit Nautiyal ankit.k.nautiyal at intel.com
Mon Nov 18 04:02:36 UTC 2024


Use helpers for source min/max src bpc appropriately for dp mst case and
to limit max_requested_bpc property min/max values. 

Rev2: Dropped patch to limit max_requested_bpc based on src DSC bpc
limits. Instead added change to ignore max_requested_bpc if its
too low for DSC.

Rev3: Updated patch#1 commit message.

Rev4: Rebase.

Rev5: Addressed Jani's comment on patch#3.

Rev6: Rebase.

Rev7: Added patch to fix return type for dsc_min/max_src bpc helpers to
int.

Rev8: Drop the first patch and added patches to refactor pipe_bpp limits
and link limits.

Ankit Nautiyal (10):
  drm/i915/dp: Remove HAS_DSC macro for intel_dp_dsc_max_src_input_bpc
  drm/i915/dp: Return early if DSC not supported
  drm/i915/dp: Return int from dsc_max/min_src_input_bpc helpers
  drm/i915/dp_mst: Use helpers to get dsc min/max input bpc
  drm/i915/dp: Drop max_requested_bpc for dsc pipe_min/max bpp
  drm/i915/dp: Refactor pipe_bpp limits with dsc
  drm/i915/dp_mst: Refactor pipe_bpp limits with dsc for mst
  drm/i915/dp: Use clamp for pipe_bpp limits with DSC
  drm/i915/dp: Make dsc helpers accept const crtc_state pointers
  drm/i915/dp: Set the DSC link limits
    intel_dp_compute_config_link_bpp_limits

 drivers/gpu/drm/i915/display/intel_dp.c     | 153 ++++++++++----------
 drivers/gpu/drm/i915/display/intel_dp.h     |  11 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  13 +-
 3 files changed, 90 insertions(+), 87 deletions(-)

-- 
2.45.2



More information about the Intel-gfx-trybot mailing list