]> 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)
commitc8d84778e52733cbbc05c1f3ea77635feb099642
tree89ef78d1cd653b71dd45b6c2cd1bbb0f00212b04
parent5f22e5b3116ce42f0fdd38d645b001cddf5336d7
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