diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-16 09:52:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-18 11:58:29 +0100 |
commit | 170fa29b14fadf2deb361589cefe6a78b21b1b22 (patch) | |
tree | b2b8f7fb9d9c2a51d3290160d436148d650e92e0 /lib/radix-tree.c | |
parent | c7c6e46f913bb3a6ff19e64940ebb54652033677 (diff) | |
download | linux-stable-170fa29b14fadf2deb361589cefe6a78b21b1b22.tar.gz linux-stable-170fa29b14fadf2deb361589cefe6a78b21b1b22.tar.bz2 linux-stable-170fa29b14fadf2deb361589cefe6a78b21b1b22.zip |
drm/i915: Simplify eb_lookup_vmas()
Since the introduction of being able to perform a lockless lookup of an
object (i915_gem_object_get_rcu() in fbbd37b36fa5 ("drm/i915: Move object
release to a freelist + worker") we no longer need to split the
object/vma lookup into 3 phases and so combine them into a much simpler
single loop.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170816085210.4199-4-chris@chris-wilson.co.uk
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions