Skip to content

Commit 2f54e71

Browse files
ideakjlahtine-intel
authored andcommitted
drm/i915/dp_mst: Don't require DSC hblank quirk for a non-DSC compatible mode
If an MST branch device doesn't support DSC for a given mode, but the MST link has enough BW for the mode, assume that the branch device does support the mode using an uncompressed stream. Fixes: 55eaef1 ("drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk") Cc: [email protected] # v6.8+ Reviewed-by: Suraj Kandpal <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 4e75c3e) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent 69b3d87 commit 2f54e71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,9 @@ hblank_expansion_quirk_needs_dsc(const struct intel_connector *connector,
466466
if (mode_hblank_period_ns(adjusted_mode) > hblank_limit)
467467
return false;
468468

469+
if (!intel_dp_mst_dsc_get_slice_count(connector, crtc_state))
470+
return false;
471+
469472
return true;
470473
}
471474

0 commit comments

Comments
 (0)