drm/i915/bdw: Disable PPGTT for now
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 3 Nov 2013 04:07:01 +0000 (21:07 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Nov 2013 17:09:35 +0000 (18:09 +0100)
This will be changed once the gen8 code is fully implemented.

v2: Use ENOSYS instead of ENXIO as suggested by Chris.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c

index c4c42e7cbd7bbf9a6641d1ca688e9b6be50d9f75..7d5a51fea1bbbd1d287123ecdefd3cbe1d76a3ba 100644 (file)
@@ -410,6 +410,8 @@ static int i915_gem_init_aliasing_ppgtt(struct drm_device *dev)
 
        if (INTEL_INFO(dev)->gen < 8)
                ret = gen6_ppgtt_init(ppgtt);
+       else if (IS_GEN8(dev))
+               ret = -ENOSYS;
        else
                BUG();