drm/i915/selftests: Make the mman object busy everywhere
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 10:17:04 +0000 (11:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 11:16:42 +0000 (12:16 +0100)
commite948761f5b024284dc423172e9aca0672f3dec5b
treed0c6da5a0f98b3d3e8e113f9ba1c1f0473b6d1e9
parent51757cf4d7e6e1e35c25128b085fd1dabebdf4e8
drm/i915/selftests: Make the mman object busy everywhere

Loop over all engines, issuing a request for the object on each in order
to make sure we leave no stone unturned when creating an active ref. The
purpose is to make sure that we can reap a zombie object (one that is
only alive due to an active reference on the GPU) no matter where that
active reference emanates from.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022101704.5618-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c