]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle inactivating objects for all VMAs
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 6 Dec 2013 22:10:51 +0000 (14:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 14:27:46 +0000 (15:27 +0100)
commit69ce42c5248f45d7750a5d63952fb9756cb72bd4
tree74f62ba3906c4774ae06133b4930fc719622aca1
parent721537d0295f976a9f60f4c4897e8fe71547b987
drm/i915: Handle inactivating objects for all VMAs

This came from a patch called, "drm/i915: Move active to vma"

When moving an object to the inactive list, we do it for all VMs for
which the object is bound.

The primary difference from that patch is this time around we don't not
track 'active' per vma, but rather by object. Therefore, we only need
one unref.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c