RE: [PATCH] drm/i915/display: For MTL+ platforms skip mg dp programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merged and marked as stable i.e with added line in commit message

Cc: stable@xxxxxxxxxxxxxxx

Thanks for the review!

-Mika-

> -----Original Message-----
> From: Sousa, Gustavo <gustavo.sousa@xxxxxxxxx>
> Sent: Tuesday, June 25, 2024 10:32 PM
> To: Kahola, Mika <mika.kahola@xxxxxxxxx>; intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Deak, Imre <imre.deak@xxxxxxxxx>; Kahola, Mika <mika.kahola@xxxxxxxxx>
> Subject: Re: [PATCH] drm/i915/display: For MTL+ platforms skip mg dp programming
> 
> Quoting Mika Kahola (2024-06-25 08:18:40-03:00)
> >From: Imre Deak <imre.deak@xxxxxxxxx>
> >
> >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.
> >
> >Signed-off-by: Mika Kahola <mika.kahola@xxxxxxxxx>
> >Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx>
> 
> Reviewed-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
> 
> >---
> > drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> >diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c
> >b/drivers/gpu/drm/i915/display/intel_ddi.c
> >index bb13a3ca8c7c..6672fc162c4f 100644
> >--- a/drivers/gpu/drm/i915/display/intel_ddi.c
> >+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
> >@@ -2096,6 +2096,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;
> >--
> >2.34.1
> >




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux