Commit 7a4a583d authored by Dave Airlie's avatar Dave Airlie
Browse files

Merge tag 'drm-intel-next-fixes-2026-02-20' of...

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: default avatarDave Airlie <airlied@redhat.com>
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patch.msgid.link/aZgb43cDcTPBYssk@jlahtine-mobl
parents 7b5570df 777a0281
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2557,6 +2557,9 @@ bool intel_dp_mode_valid_with_dsc(struct intel_connector *connector,
	if (min_bpp_x16 <= 0 || min_bpp_x16 > max_bpp_x16)
		return false;

	if (dsc_slice_count == 0)
		return false;

	return is_bw_sufficient_for_dsc_config(intel_dp,
					       link_clock, lane_count,
					       mode_clock, mode_hdisplay,