]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: VM eviction only targets address space not physical pages
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2014 18:08:38 +0000 (18:08 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Jan 2014 20:29:40 +0000 (21:29 +0100)
commit32d18fed624263f9d218e6e47dc9de0397e97cee
tree781ab4e94a2ec0821fe942148489020ba16483dd
parentea107bb6ee1bf97ba5ccaa33dde53be9db1ae7be
drm/i915: VM eviction only targets address space not physical pages

During eviction, we are only considering how to free up space within the
current address space and not concerned with freeing up physical memory.
As such we need only skip nodes that pinned in the current VM and not
globally.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_evict.c