Skip to content

DP DSC min/max src bpc fixes

Ankit Nautiyal intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/i915/dp: Refactor FEC support check in intel_dp_supports_dscdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+10 -61 reply
2/12drm/i915/dp: Return early if DSC not supporteddrivers/gpu/drm/i915/display/intel_dp.c+3 -33 replies
3/12drm/i915/dp: Separate out helper for compute fec_enabledrivers/gpu/drm/i915/display/intel_dp.c+21 -93 replies
4/12drm/i915/dp: Remove HAS_DSC macro for intel_dp_dsc_max_src_input_bpcdrivers/gpu/drm/i915/display/intel_dp.c+1 -12 replies
5/12drm/i915/dp: Return int from dsc_max/min_src_input_bpc helpersdrivers/gpu/drm/i915/display/intel_dp.c+9 -90 replies
6/12drm/i915/dp_mst: Use helpers to get dsc min/max input bpcdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+20 -210 replies
7/12drm/i915/dp: Drop max_requested_bpc for dsc pipe_min/max bppdrivers/gpu/drm/i915/display/intel_dp.c+6 -100 replies
8/12drm/i915/dp: Refactor pipe_bpp limits with dscdrivers/gpu/drm/i915/display/intel_dp.c+23 -260 replies
9/12drm/i915/dp_mst: Refactor pipe_bpp limits with dsc for mstdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+9 -71 reply
10/12drm/i915/dp: Use clamp for pipe_bpp limits with DSCdrivers/gpu/drm/i915/display/intel_dp.c+5 -20 replies
11/12drm/i915/dp: Make dsc helpers accept const crtc_state pointersdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h+5 -51 reply
12/12drm/i915/dp: Set the DSC link limits intel_dp_compute_config_link_bpp_limitsdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+34 -280 replies

Reviews trailers per patch

8 of 12 patches have a Reviewed-by or Acked-by.

PatchSuraj Kandpal
1/12
2/12R-b
3/12
4/12
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] DP DSC min/max src bpc fixes

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.

Ankit Nautiyal (12):
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: 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: 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     | 189 +++++++++++---------
 drivers/gpu/drm/i915/display/intel_dp.h     |  14 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  18 +-
 3 files changed, 120 insertions(+), 101 deletions(-)
Signature · 1 line
2.45.2