drm/i915/dp_mst: Handle error during DSC BW overhead/slice calculation
authorImre Deak <imre.deak@intel.com>
Wed, 9 Oct 2024 11:01:34 +0000 (14:01 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 14 Oct 2024 14:15:08 +0000 (17:15 +0300)
commit802a69b6b8a0502a9e2309afec7e1b77f67874f2
treea71162298e0a3bf610de1ded0450680b396f9012
parent171596bfc36cd2c657a7c17f33a522b75d940a0a
drm/i915/dp_mst: Handle error during DSC BW overhead/slice calculation

The MST branch device may not support the number of DSC slices a mode
requires, handle the error in this case.

Fixes: 4e0837a8d00a ("drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation")
Cc: stable@vger.kernel.org # v6.8+
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009110135.1216498-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c