i915_gem_evict_something — Evict vmas to make room for binding a new one
int i915_gem_evict_something ( | struct drm_device * dev, |
struct i915_address_space * vm, | |
int min_size, | |
unsigned alignment, | |
unsigned cache_level, | |
unsigned long start, | |
unsigned long end, | |
unsigned flags) ; |
dev
drm_device
vm
address space to evict from
min_size
size of the desired free space
alignment
alignment constraint of the desired free space
cache_level
cache_level for the desired space
start
start (inclusive) of the range from which to evict objects
end
end (exclusive) of the range from which to evict objects
flags
additional flags to control the eviction algorithm