aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2013-07-31 20:00:11 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-08 08:04:43 -0400
commitf6cd1f15d345688cb95cc195aaf8b375f7de8cf6 (patch)
treed0a33c5577684c5a39fdf0d9821f9d9ebf38eb81 /drivers/gpu/drm/i915/i915_drv.h
parent07fe0b12800d4752d729d4122c01f41f80a5ba5a (diff)
drm/i915: Use new bind/unbind in eviction code
Eviction code, like the rest of the converted code needs to be aware of the address space for which it is evicting (or the everything case, all addresses). With the updated bind/unbind interfaces of the last patch, we can now safely move the eviction code over. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 8205b4b4f2be..2421ad17831b 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1983,7 +1983,9 @@ static inline void i915_gem_chipset_flush(struct drm_device *dev)
1983 1983
1984 1984
1985/* i915_gem_evict.c */ 1985/* i915_gem_evict.c */
1986int __must_check i915_gem_evict_something(struct drm_device *dev, int min_size, 1986int __must_check i915_gem_evict_something(struct drm_device *dev,
1987 struct i915_address_space *vm,
1988 int min_size,
1987 unsigned alignment, 1989 unsigned alignment,
1988 unsigned cache_level, 1990 unsigned cache_level,
1989 bool mappable, 1991 bool mappable,