mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
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
This commit is contained in:
commit
7a4a583db6
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user