]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Use common LRU inactive vma bumping for unpin_from_display
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Jan 2017 19:26:55 +0000 (19:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Jan 2017 10:31:44 +0000 (10:31 +0000)
commitbefedbb7e24935e149640ddfc2b82dab42985e3c
tree796d7d471a9d7bf8beb3a53fef80ce38b7913e31
parentd65415df0708700e306fcbcaece23369de4cb74e
drm/i915: Use common LRU inactive vma bumping for unpin_from_display

Now that i915_gem_object_bump_inactive_ggtt() exists, also make use of
it for the LRU bumping from i915_gem_object_unpin_from_display()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170119192659.31789-2-chris@chris-wilson.co.uk
Reviewed-by: Jonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem.c