Skip to content

Commit 7a4a583

Browse files
committed
Merge tag 'drm-intel-next-fixes-2026-02-20' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
- Add missing slice count check during DP mode validation Signed-off-by: Dave Airlie <airlied@redhat.com> From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patch.msgid.link/aZgb43cDcTPBYssk@jlahtine-mobl
2 parents 7b5570d + 777a028 commit 7a4a583

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2557,6 +2557,9 @@ bool intel_dp_mode_valid_with_dsc(struct intel_connector *connector,
25572557
if (min_bpp_x16 <= 0 || min_bpp_x16 > max_bpp_x16)
25582558
return false;
25592559

2560+
if (dsc_slice_count == 0)
2561+
return false;
2562+
25602563
return is_bw_sufficient_for_dsc_config(intel_dp,
25612564
link_clock, lane_count,
25622565
mode_clock, mode_hdisplay,

0 commit comments

Comments
 (0)