projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69766f
)
drm/i915: Allow blocking in the PDE alloc when running low on gtt space
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 14 Feb 2014 13:01:18 +0000
(14:01 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
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 <chris@chris-wilson.co.uk>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 1dcd50541ae26e7f59102e457da0d88652e7eb4d..69a88d41a2a7e72df69b43d790a21c2966041793 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/
drivers/gpu/drm/i915/i915_gem_gtt.c
@@
-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;