Skip to content

Commit 99f8550

Browse files
vsyrjalarodrigovivi
authored andcommitted
drm/i915/mst: Reject FEC+MST on ICL
ICL supposedly doesn't support FEC on MST. Reject it. Cc: [email protected] Fixes: d51f25e ("drm/i915: Add DSC support to MST path") Reviewed-by: Uma Shankar <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit b648ce2) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 51bc633 commit 99f8550

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,8 @@ static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp,
14221422
if (DISPLAY_VER(dev_priv) >= 12)
14231423
return true;
14241424

1425-
if (DISPLAY_VER(dev_priv) == 11 && encoder->port != PORT_A)
1425+
if (DISPLAY_VER(dev_priv) == 11 && encoder->port != PORT_A &&
1426+
!intel_crtc_has_type(pipe_config, INTEL_OUTPUT_DP_MST))
14261427
return true;
14271428

14281429
return false;

0 commit comments

Comments
 (0)