From: Daniel Vetter Date: Sun, 3 Nov 2013 04:07:01 +0000 (-0700) Subject: drm/i915/bdw: Disable PPGTT for now X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8fe6bd239a72ba31c2568a29b730c9cd4f05c52c;p=openwrt%2Fstaging%2Fblogic.git drm/i915/bdw: Disable PPGTT for now 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 --- diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index c4c42e7cbd7b..7d5a51fea1bb 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -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();