]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Track the detailed DSC slice configuration
authorImre Deak <imre.deak@intel.com>
Wed, 14 Jan 2026 16:22:22 +0000 (18:22 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 15 Jan 2026 18:19:03 +0000 (20:19 +0200)
commitfd1e610ca21861f582e57e26e5e5628d01c6c36d
tree11e5fb5326268ff26dcf947e4efc12d1368d1bbd
parent57152a502ed2a4d8f0470321c9d482a76daa3cb9
drm/i915/dp: Track the detailed DSC slice configuration

Add tracking for the DP DSC pipes-per-line and slices-per-stream value
in the slice config state and compute the current slices-per-line
(slice_count) value using this slice config. The slices-per-line value
used atm will be removed by a follow-up change after converting all the
places using it to use the slice config instead.

For now the slices-per-stream value is calculated based on the
slices-per-line value (slice_count) calculated by the
drm_dp_dsc_sink_max_slice_count() / intel_dp_dsc_get_slice_count()
functions. In a follow-up change these functions will be converted to
calculate the slices-per-stream value directly, along with the detailed
slice configuration.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260114162232.92731-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c