drm/i915/selftests: Use request managed wakerefs
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Jun 2019 10:24:32 +0000 (11:24 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Jun 2019 18:13:26 +0000 (19:13 +0100)
commit60a0933bff57af52f99a17cbe9f0bc5d27771236
tree5659dfa4b59e78a75d2c0a8a0119d3b567a5b3c9
parentcffa1eb8a22392a02dbc6a372094262f888fd3ed
drm/i915/selftests: Use request managed wakerefs

Since commit 79ffac8599c4 ("drm/i915: Invert the GEM wakeref
hierarchy"), the request creation itself took responsibility for
managing the engine/GT wakerefs and so we can remove the redundant grabs
in our selftests.

References: 79ffac8599c4 ("drm/i915: Invert the GEM wakeref hierarchy")
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/20190620102432.31580-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c