]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Simplify computing the DSC compressed BPP for DP-MST
authorImre Deak <imre.deak@intel.com>
Mon, 22 Dec 2025 15:35:47 +0000 (17:35 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 13 Jan 2026 16:42:21 +0000 (18:42 +0200)
commitd30f75d2dba913754dbacb982b19b783a30253ea
treea76eb35ff95949459d00d37558517426d5d9fb3f
parent3045a4eb12e9affb526cf24fb4a41d3487d55978
drm/i915/dp: Simplify computing the DSC compressed BPP for DP-MST

The minimum/maximum DSC input (i.e. pipe) and compressed (i.e. link) BPP
limits are computed already in intel_dp_compute_config_limits(), so
there is no need to do this again in
mst_stream_dsc_compute_link_config() called later. Remove the
corresponding alignments from the latter function and use the
precomputed (aligned and within bounds) maximum pipe BPP and the min/max
compressed BPP values instead as-is.

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