From: Daniel Vetter Date: Mon, 11 Nov 2013 08:35:17 +0000 (+0100) Subject: drm/i915: Make AGP=n work even on gen3 X-Git-Tag: v3.14-rc1~47^2~90^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea8eea73ac62fab878912a74df7fb586586238e7;p=kernel%2Fkernel-generic.git drm/i915: Make AGP=n work even on gen3 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ä Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index c3e9485..a19940f 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; #endif static const struct intel_device_info intel_i830_info = {