drm/i915: Allow blocking in the PDE alloc when running low on gtt space
authorDaniel Vetter <[email protected]>
Fri, 14 Feb 2014 13:01:18 +0000 (14:01 +0100)
committerDaniel Vetter <[email protected]>
Fri, 14 Feb 2014 13:18:15 +0000 (14:18 +0100)
There's no need not to, really.

Split out from Chris vma-bind rework.

Cc: Chris Wilson <[email protected]>
Cc: Ben Widawsky <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_gem_gtt.c

index 1dcd50541ae26e7f59102e457da0d88652e7eb4d..69a88d41a2a7e72df69b43d790a21c2966041793 100644 (file)
@@ -885,7 +885,7 @@ alloc:
        if (ret == -ENOSPC && !retried) {
                ret = i915_gem_evict_something(dev, &dev_priv->gtt.base,
                                               GEN6_PD_SIZE, GEN6_PD_ALIGN,
-                                              I915_CACHE_NONE, PIN_NONBLOCK);
+                                              I915_CACHE_NONE, 0);
                if (ret)
                        return ret;