Commit ea8eea73 authored by Daniel Vetter's avatar Daniel Vetter

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ä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 661df041
...@@ -158,7 +158,7 @@ static struct drm_driver driver; ...@@ -158,7 +158,7 @@ static struct drm_driver driver;
#if IS_ENABLED(CONFIG_AGP_INTEL) #if IS_ENABLED(CONFIG_AGP_INTEL)
extern int intel_agp_enabled; extern int intel_agp_enabled;
#else #else
static int intel_agp_enabled; static int intel_agp_enabled = 1;
#endif #endif
static const struct intel_device_info intel_i830_info = { static const struct intel_device_info intel_i830_info = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment