mbox series

[RFC,0/3] Get dsc optimal output bpp

Message ID 20220616042247.324969-1-ankit.k.nautiyal@intel.com (mailing list archive)
Headers show
Series Get dsc optimal output bpp | expand

Message

Ankit Nautiyal June 16, 2022, 4:22 a.m. UTC
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.

Ankit Nautiyal (3):
  drm/i915/dp: Rename helper to calculate dsc output bpp
  drm/i915/dp: Rename helper to get max pipe bpp with DSC
  drm/i915/dp: Get optimal link config to have best compressed bpp

 drivers/gpu/drm/i915/display/intel_dp.c | 263 ++++++++++++++++++------
 1 file changed, 201 insertions(+), 62 deletions(-)