]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp_mst: Add support for fractional compressed link bpps on MST
authorImre Deak <imre.deak@intel.com>
Fri, 9 May 2025 18:03:35 +0000 (21:03 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 12 May 2025 12:22:50 +0000 (15:22 +0300)
commit00f00859820e021e0f228ff3244401da6efc9d51
tree89a04aec6d6d5dd4805c33e8602d200b475e848f
parent7acc7a6fc77413ab061819cee2ab7771c4132cf0
drm/i915/dp_mst: Add support for fractional compressed link bpps on MST

Add support for a fractional compressed link bpp on an MST link. Leave
the actual enabling of fractional bpps to a follow-up change.

While at it add an assert before the bpp loop, that the min and max bpps
are aligned to the bpp step. This should hold regardless of the non-DSC/DSC
or MST/UHBR-SST modes.

This keeps the mode validation and DSC->DPT BW specific maximum link
bpps as rounded-down integer values still, changing those to a
fractional value is left for later, add here TODO comments for them.

v2:
- Align the min/max bpp value to the bpp step.
- Assert that the min/max bpp values are aligned to the bpp step.

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-9-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c