drm/i915: Remove inactive LRU tracking from set_domain_ioctl
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Nov 2010 16:02:21 +0000 (16:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Dec 2010 10:16:30 +0000 (10:16 +0000)
commitc6748e09eed072be077fe583976516b76daf42ec
treefe2136b089010df3f39303846c620670f9f35bee
parentd9e86c0ee60f323e890484628f351bf50fa9a15d
drm/i915: Remove inactive LRU tracking from set_domain_ioctl

As the userspace mappings are torn down on every GPU write, we prefer to
track when the buffer is activated (via a fresh i915_gem_fault). This
makes the LRU conceptually simpler. With coherent mappings, the
remaining use-case for set_domain_ioctl is GPU synchronisation.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c