Skip to content

Commit aaf9dc8

Browse files
ideakmkahola
authored andcommitted
drm/i915/display: For MTL+ platforms skip mg dp programming
For MTL+ platforms we use PICA chips for Type-C support and hence mg programming is not needed. Fixes issue with drm warn of TC port not being in legacy mode. Cc: [email protected] Signed-off-by: Mika Kahola <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Gustavo Sousa <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 85582ad commit aaf9dc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,9 @@ icl_program_mg_dp_mode(struct intel_digital_port *dig_port,
20962096
u32 ln0, ln1, pin_assignment;
20972097
u8 width;
20982098

2099+
if (DISPLAY_VER(dev_priv) >= 14)
2100+
return;
2101+
20992102
if (!intel_encoder_is_tc(&dig_port->base) ||
21002103
intel_tc_port_in_tbt_alt_mode(dig_port))
21012104
return;

0 commit comments

Comments
 (0)