[Intel-gfx] [PATCH] drm/i915/ehl: Support HBR3 on EHL combo PHY

Lucas De Marchi lucas.demarchi at intel.com
Thu Jun 6 16:09:08 UTC 2019


On Thu, Jun 06, 2019 at 09:00:56AM -0700, Rodrigo Vivi wrote:
>On Wed, Jun 05, 2019 at 03:15:22PM -0700, Matt Roper wrote:
>> On Wed, Jun 05, 2019 at 02:51:08PM -0700, Manasi Navare wrote:
>> > On Wed, Jun 05, 2019 at 02:18:32PM -0700, Matt Roper wrote:
>> > > Unlike ICL, EHL's combo PHYs can support HBR3 data rates.  Note that
>> > > this just extends the upper limit; we will continue to honor the max
>> > > data rate specified in the VBT in cases where it is lower than HBR3.
>> > >
>> > > Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
>> >
>> > Yes looks good to me.
>> >
>> > Reviewed-by: Manasi Navare <manasi.d.navare at intel.com>
>> >
>> > Manasi
>>
>> Thanks for the quick review.  CI looks happy too, so pushed to dinq.
>>
>>
>> Matt
>>
>> >
>> > > ---
>> > >  drivers/gpu/drm/i915/intel_dp.c | 1 +
>> > >  1 file changed, 1 insertion(+)
>> > >
>> > > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
>> > > index 24b56b2a76c8..b099a9dc28fd 100644
>> > > --- a/drivers/gpu/drm/i915/intel_dp.c
>> > > +++ b/drivers/gpu/drm/i915/intel_dp.c
>> > > @@ -332,6 +332,7 @@ static int icl_max_source_rate(struct intel_dp *intel_dp)
>> > >  	enum port port = dig_port->base.port;
>> > >
>> > >  	if (intel_port_is_combophy(dev_priv, port) &&
>> > > +	    !IS_ELKHARTLAKE(dev_priv) &&
>
>I wonder if we shouldn't use IS_ICELAKE instead of !IS_ELKHARTLAKE here...
>but it seems to late...

if we apply the principle we have been adopting of always using the last
platform for the next one... I agree, this should be IS_ICELAKE().

Lucas De Marchi

>
>But something to remember to pay attention on any upcoming platform...
>
>> > >  	    !intel_dp_is_edp(intel_dp))
>> > >  		return 540000;
>> > >
>> > > --
>> > > 2.14.5
>> > >
>> > > _______________________________________________
>> > > Intel-gfx mailing list
>> > > Intel-gfx at lists.freedesktop.org
>> > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
>>
>> --
>> Matt Roper
>> Graphics Software Engineer
>> IoTG Platform Enabling & Development
>> Intel Corporation
>> (916) 356-2795
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list