drm/i915/selftests: Count the number of engines used
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Nov 2019 22:32:50 +0000 (22:32 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Nov 2019 11:59:13 +0000 (11:59 +0000)
commit212d9994d0b5b951fcdb8ce454c8d91521ae20d6
tree214356e56ed0912ce9da1c0d3624b5aee320e971
parent7983990ca94ab69de6c769dd48da1bba91def53c
drm/i915/selftests: Count the number of engines used

Don't rely on the RUNTIME_INFO() when we loop over a particular context
and only run on a filtered set of engines.

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/20191127223252.3777141-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c