drm/i915/dp_mst: Fix BW limit check when calculating DSC DPT bpp
authorImre Deak <imre.deak@intel.com>
Tue, 16 Apr 2024 22:10:02 +0000 (01:10 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Apr 2024 14:05:36 +0000 (17:05 +0300)
commit1ff65bf8ffc16e0a85728412a035f04247761a26
tree2bb677ad04fb401532a3152aa66d761436ab1c1e
parent854ff3d9b8bb5187cd753c2ac59248c83f42fc99
drm/i915/dp_mst: Fix BW limit check when calculating DSC DPT bpp

The DSC DPT bpp limit check should only fail if the available DPT BW is
less than the required BW, fix the check accordingly.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240416221010.376865-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c