Commit 7f0475db authored by Imre Deak's avatar Imre Deak Committed by Hubert Mazur
Browse files

BACKPORT: 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: 4e0837a8 ("drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation")
Cc: stable@vger.kernel.org # v6.8+
Reviewed-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009110135.1216498-1-imre.deak@intel.com


(cherry picked from commit 802a69b6)
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
(cherry picked from commit 69b3d872)

Conflicts:
   drivers/gpu/drm/i915/display/intel_dp_mst.c

BUG=b:325713868
TEST=CQ

Change-Id: Ie583e928685b58469beaa86624b41be4cc837cc2
Signed-off-by: default avatarTim Van Patten <timvp@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5948230


Reviewed-by: default avatarDrew Davenport <ddavenport@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
parent fd43e178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment