[Intel-gfx] [PATCH 2/3] drm/i915/vlv: remove pre-production hardware workaround

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Oct 7 08:35:14 PDT 2015


On Wed, Oct 07, 2015 at 04:30:06PM +0200, Daniel Vetter wrote:
> On Wed, Oct 07, 2015 at 04:27:24PM +0300, Ville Syrjälä wrote:
> > On Wed, Oct 07, 2015 at 11:17:45AM +0300, Jani Nikula wrote:
> > > Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> > > ---
> > >  drivers/gpu/drm/i915/i915_gem_gtt.c | 7 -------
> > >  1 file changed, 7 deletions(-)
> > > 
> > > diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
> > > index 620d57e2526b..4e328f71a454 100644
> > > --- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> > > +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> > > @@ -133,13 +133,6 @@ static int sanitize_enable_ppgtt(struct drm_device *dev, int enable_ppgtt)
> > >  	}
> > >  #endif
> > >  
> > > -	/* Early VLV doesn't have this */
> > > -	if (IS_VALLEYVIEW(dev) && !IS_CHERRYVIEW(dev) &&
> > > -	    dev->pdev->revision < 0xb) {
> > > -		DRM_DEBUG_DRIVER("disabling PPGTT on pre-B3 step VLV\n");
> > > -		return 0;
> > > -	}
> > 
> > IIRC B2 may have gotten out into the wild, so we can't kill this check
> > unfortunately. Well, unless it magically got fixed in the meantime. I
> > don't think anyone ever figured out what the problems was with PPGTT on
> > B2 and earlier.
> 
> Note "into the wild" isn't valid imo - we've had snb workarounds that we
> killed which made a few sdvs used by distros and oems broken. I applied it
> anyway.
> 
> It's only for stuff that's sold in general that I'm counting as "shipped
> hw".

My statement was meant as "shipped". Poor choice of words.

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list