[Intel-gfx] [PATCH v3 2/2] drm/i915: DP link training optimization

Mika Kahola mika.kahola at intel.com
Tue Apr 28 01:14:46 PDT 2015


On Tue, 2015-04-28 at 13:19 +0530, Sivakumar Thulasimani wrote:
> 
> On 4/28/2015 12:13 PM, Mika Kahola wrote:
> > This patch adds DP link training optimization by reusing the
> > previously trained values.
> >
> > v2:
> > - rebase
> >
> > V3:
> > - rebase
> >
> > Signed-off-by: Mika Kahola <mika.kahola at intel.com>
> > ---
> >   drivers/gpu/drm/i915/intel_dp.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
> > index 15adafc..bb1a8d0 100644
> > --- a/drivers/gpu/drm/i915/intel_dp.c
> > +++ b/drivers/gpu/drm/i915/intel_dp.c
> > @@ -3794,7 +3794,7 @@ intel_dp_complete_link_train(struct intel_dp *intel_dp)
> >   	intel_dp->DP = DP;
> >   
> >   	if (channel_eq) {
> > -		intel_dp->train_set_valid = is_edp(intel_dp);
> > +		intel_dp->train_set_valid = true;
> >   		DRM_DEBUG_KMS("Channel EQ done. DP Training successful\n");
> >   	}
> >   }
> any reason why this is split into a separate patch ?
I discussed this with Jani and we agreed that one option would be to
apply this optimization only for the eDP case. This second patch is for
the possibility to cover the general DP.

-Mika-




More information about the Intel-gfx mailing list