From: Daniel Vetter Subject: Re: [PATCH 1/3] drm/i915: Make AGP=n work even on gen3 Date: Thu, 14 Nov 2013 01:43:11 +0100 Message-ID: <20131114004311.GA22741@phenom.ffwll.local> References: <1384158919-30592-1-git-send-email-daniel.vetter@ffwll.ch> <1384158919-30592-2-git-send-email-daniel.vetter@ffwll.ch> <20131113185956.GF7819@intel.com> <20131113202144.GI7251@phenom.ffwll.local> <20131113232457.GM7819@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ea0-f171.google.com (mail-ea0-f171.google.com [209.85.215.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 331D5FB18D for ; Wed, 13 Nov 2013 16:42:48 -0800 (PST) Received: by mail-ea0-f171.google.com with SMTP id h10so525230eak.30 for ; Wed, 13 Nov 2013 16:42:47 -0800 (PST) Content-Disposition: inline In-Reply-To: <20131113232457.GM7819@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: Daniel Vetter , Intel Graphics Development , DRI Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Nov 14, 2013 at 01:24:57AM +0200, Ville Syrj=E4l=E4 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=E4l=E4 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=E4l=E4 > > > > Signed-off-by: Daniel Vetter > > > > --- > > > > 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 =3D 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=E4l=E4 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