mbox series

[00/14] DP DSC min/max src bpc fixes

Message ID 20241217093244.3938132-1-ankit.k.nautiyal@intel.com (mailing list archive)
Headers show
Series DP DSC min/max src bpc fixes | expand

Message

Nautiyal, Ankit K Dec. 17, 2024, 9:32 a.m. UTC
Use helpers for source min/max src bpc appropriately for dp mst case and
to limit max_requested_bpc property min/max values. 

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

Rev3: Update patch#1 commit message.

Rev4: Rebase.

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

Rev6: Rebase.

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

Rev8:
-Drop the first patch.
-Refactor helpers for fec support.
-Add patches to refactor pipe_bpp limits and link limits.

Rev9:
-Address review comments.
-Split patch#3 and patch#6 to 2 patches each.
-Rebase.

Rev10:
-Rebase.
-Few patches dropped after rebase and new patches for crtc_state->limits
for MST.

Ankit Nautiyal (14):
  drm/i915/dp: Refactor FEC support check in intel_dp_supports_dsc
  drm/i915/dp: Return early if DSC not supported
  drm/i915/dp: Separate out helper for compute fec_enable
  drm/i915/dp: Drop check for FEC in intel_dp_fec_compute_config
  drm/i915/dp: Remove HAS_DSC macro for intel_dp_dsc_max_src_input_bpc
  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: Use pipe_bpp->limits.{max/min}_bpp for dsc
  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 in
    intel_dp_compute_config_link_bpp_limits
  drm/i915/dp_mst: Use link.{min/max}_bpp_x16

 drivers/gpu/drm/i915/display/intel_dp.c     | 177 ++++++++++----------
 drivers/gpu/drm/i915/display/intel_dp.h     |   9 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  30 +---
 3 files changed, 104 insertions(+), 112 deletions(-)