Skip to content

Commit

Permalink
drm/i915/display: For MTL+ platforms skip mg dp programming
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ideak authored and jnikula committed Jul 1, 2024
1 parent 22a40d1 commit f723833
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/display/intel_ddi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2088,6 +2088,9 @@ icl_program_mg_dp_mode(struct intel_digital_port *dig_port,
u32 ln0, ln1, pin_assignment;
u8 width;

if (DISPLAY_VER(dev_priv) >= 14)
return;

if (!intel_encoder_is_tc(&dig_port->base) ||
intel_tc_port_in_tbt_alt_mode(dig_port))
return;
Expand Down

0 comments on commit f723833

Please sign in to comment.