Commit 144a75fa authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/i915: fix oops on agp=off

From Kernel BZ 10289 - not sure why anyone would boot an intel with no agp
but it shouldn't crash.

Signed-off-by: default avatarDave Airlie <>
parent 0c76be35
......@@ -804,6 +804,9 @@ void i915_driver_lastclose(struct drm_device * dev)
drm_i915_private_t *dev_priv = dev->dev_private;
if (!dev_priv)
if (dev_priv->agp_heap)
Supports Markdown
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