Skip to content

Commit

Permalink
drm/i915: Make AGP=n work even on gen3
Browse files Browse the repository at this point in the history
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@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed Nov 14, 2013
1 parent 661df04 commit ea8eea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ea8eea7

Please sign in to comment.