Skip to content

Get dsc optimal output bpp

Ankit Nautiyal intel-gfx 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v1 RFC3 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/dp: Check if force dsc bpc <= max requested bpcdrivers/gpu/drm/i915/display/intel_dp.c+18 -50 replies
2/3drm/i915/dp: Rename helpers to get DSC max pipe bpp and max output bppdrivers/gpu/drm/i915/display/intel_dp.c+26 -310 replies
3/3drm/i915/dp: Get optimal link config to have best compressed bppdrivers/gpu/drm/i915/display/intel_dp.c+152 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Intel-gfx] [PATCH v2 0/3] Get dsc optimal output bpp

Currently, when going with DSC for DP, we take the max lane, rate and pipe bpp, to get the maximum compressed bpp possible. We then set the output bpp to this value. It might be possible to have lesser rate or lane count, for which the same compressed bpp works.

This RFC series attempts to get the best compressed bpp such that we have maximum bpc, with minimum link rate and lane possible.

The policy here is chosen such that 'best compressed bpp' mean minimum compression, ie. maximum compressed bpp. It means compress only that is sufficient to sent over the link, and for that compressed bpp, use minimum lanes, and rate.

Current series, only touches the DSC for DisplayPort. eDP might require some more changes and also a different policy.

Rev2: Added fix to check that force_dsc_dpc <= connector max_requested_bpc.

Ankit Nautiyal (3):
drm/i915/dp: Check if force dsc bpc <= max requested bpc drm/i915/dp: Rename helpers to get DSC max pipe bpp and max output bpp drm/i915/dp: Get optimal link config to have best compressed bpp

 drivers/gpu/drm/i915/display/intel_dp.c | 229 +++++++++++++++++++-----
 1 file changed, 183 insertions(+), 46 deletions(-)
Signature · 1 line
2.25.1