]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Hold ref on request across waits
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 13:01:22 +0000 (14:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 23:00:29 +0000 (00:00 +0100)
commit0a5a2aad6a668dc7f2f44dc81958a03e2f86c4c1
tree89ef78d1cd653b71dd45b6c2cd1bbb0f00212b04
parentd5a1c36013ed1dc0d5f88332d10d353c204d63d3
drm/i915/selftests: Hold ref on request across waits

As we wait upon the request, we should be sure to hold our own reference
for our checks.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625130128.11009-14-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_request.c