[Intel-gfx] [PATCH 1/3] drm/i915: Make AGP=n work even on gen3

Daniel Vetter daniel at ffwll.ch
Thu Nov 14 01:43:11 CET 2013


On Thu, Nov 14, 2013 at 01:24:57AM +0200, Ville Syrjälä wrote:
> On Wed, Nov 13, 2013 at 09:21:44PM +0100, Daniel Vetter wrote:
> > On Wed, Nov 13, 2013 at 08:59:56PM +0200, Ville Syrjälä wrote:
> > > On Mon, Nov 11, 2013 at 09:35:17AM +0100, Daniel Vetter wrote:
> > > > Most platforms din't hit this condition, but if we want to allow
> > > > building without agp we should also make this allowed on gen3.
> > > > 
> > > > Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > > > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> > > > ---
> > > >  drivers/gpu/drm/i915/i915_drv.c | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > 
> > > > diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> > > > index 38a344694e35..d7c922051c89 100644
> > > > --- a/drivers/gpu/drm/i915/i915_drv.c
> > > > +++ b/drivers/gpu/drm/i915/i915_drv.c
> > > > @@ -158,7 +158,7 @@ static struct drm_driver driver;
> > > >  #if IS_ENABLED(CONFIG_AGP_INTEL)
> > > >  extern int intel_agp_enabled;
> > > >  #else
> > > > -static int intel_agp_enabled;
> > > > +static int intel_agp_enabled = 1;
> > > 
> > > Patch 2/3 eliminates our only use of intel_agp_enabled, so this patch
> > > seems pointless.
> > 
> > Patch 2 has a good chance to get reverted, so having this separate isn't
> > completely pointless. Should have mentioned this in the cover letter ;-)
> 
> OK, makes sense.
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Ok, I've pulled them all in (with Dave's irc-ack for 2&3), thanks for the
review.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list