]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb7c9cd2c6077633effd6498cc6ac887292b554a
tree5659dfa4b59e78a75d2c0a8a0119d3b567a5b3c9
parent46dabee7d9abf61e09c549174069d990d05d72e9
drm/i915/selftests: Use request managed wakerefs

Since commit 14ab88e3a048 ("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: 14ab88e3a048 ("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