]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Simplify computing DSC BPPs for eDP
authorImre Deak <imre.deak@intel.com>
Mon, 22 Dec 2025 15:35:42 +0000 (17:35 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 13 Jan 2026 16:42:19 +0000 (18:42 +0200)
commit8193ce906a8656892334b17e60e19ae7aeea220f
tree7764d0adb4fab73ed9ea0288e27bf832fab816ae
parent4d2dd780970d33d4dd66c718077ee703938b0a71
drm/i915/dp: Simplify computing DSC BPPs for eDP

The maximum pipe BPP value (used as the DSC input BPP) has been aligned
already to the corresponding source/sink input BPP capabilities in
intel_dp_compute_config_limits(). So it isn't needed to perform the same
alignment again in intel_edp_dsc_compute_pipe_bpp() called later, this
function can simply use the already aligned maximum pipe BPP value, do
that.

Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251222153547.713360-16-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c