]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/i915_drv.h
drm/i915: range-restricted eviction support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Sep 2010 13:45:15 +0000 (15:45 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 22:31:04 +0000 (23:31 +0100)
commita6e0aa421406dc4cfd736c6d07d26ed39ab4f7bc
tree4c2112e228971561f3e8871e5405cb77ff3c16c1
parentd935cc61d466f6cc7514032835f4fc379cb7e2ca
drm/i915: range-restricted eviction support

Add a mappable parameter to i915_gem_evict_something to distinguish
the two cases (non-restricted vs. mappable gtt allocations). No
functional changes because the mappable limit is set to the end of
the gtt currently.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c