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: stable@vger.kernel.org Signed-off-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240625111840.597574-1-mika.kahola@intel.com
1 parent 85582ad commit aaf9dc8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)