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); |
devdrm_device
vmaddress space to evict from
min_sizesize of the desired free space
alignmentalignment constraint of the desired free space
cache_levelcache_level for the desired space
startstart (inclusive) of the range from which to evict objects
endend (exclusive) of the range from which to evict objects
flagsadditional flags to control the eviction algorithm