]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dp: Limit max link bpp properly to a fractional value on SST
authorImre Deak <imre.deak@intel.com>
Fri, 9 May 2025 18:03:34 +0000 (21:03 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 12 May 2025 12:22:49 +0000 (15:22 +0300)
commit7acc7a6fc77413ab061819cee2ab7771c4132cf0
treed36fc4d2a11a631d7d51e69ad29a4b093844475e
parent1f581f38bc0d23c6ac6714c84a72e098f1f645fe
drm/i915/dp: Limit max link bpp properly to a fractional value on SST

The maximum link bpp - determined by the link BW for instance - can be
fractional, handle this properly during computing the link bpp on SST.

This keeps the pipe joiner specific maximum link bpp as a rounded-down
integer value still, changing that to a fractional value is left for
later.

v2: Align the min/max bpp value to the bpp step.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250509180340.554867-8-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c