]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Fix DSC sink's slice count capability check
authorImre Deak <imre.deak@intel.com>
Mon, 15 Dec 2025 19:23:43 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2025 14:46:40 +0000 (16:46 +0200)
commit0b1499051ab39d8958e43ff292f5e3a7324427bb
treed3ece5a050b46026ed241467e5cf23bad0032ca7
parent92a73fec6acdcef3f2da7b2d1d4574308ebbe975
drm/i915/dp: Fix DSC sink's slice count capability check

A DSC sink supporting DSC slice count N, not necessarily supports slice
counts less than N. Hence the driver should check the sink's support for
a particular slice count before using that slice count, fix
intel_dp_dsc_get_slice_count() accordingly.

Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c