Skip to content

Commit f723833

Browse files
ideakjnikula
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] (cherry picked from commit aaf9dc8) Signed-off-by: Jani Nikula <[email protected]>
1 parent 22a40d1 commit f723833

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
@@ -2088,6 +2088,9 @@ icl_program_mg_dp_mode(struct intel_digital_port *dig_port,
20882088
u32 ln0, ln1, pin_assignment;
20892089
u8 width;
20902090

2091+
if (DISPLAY_VER(dev_priv) >= 14)
2092+
return;
2093+
20912094
if (!intel_encoder_is_tc(&dig_port->base) ||
20922095
intel_tc_port_in_tbt_alt_mode(dig_port))
20932096
return;

0 commit comments

Comments
 (0)