drm/i915: Test simultaneously submitting requests to all engines
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:25 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:39 +0000 (20:45 +0000)
commitcf8be13df2ce232ccf0a7a7220613b476f7fedfa
tree2ab148ccda2d9338acfe95a4f48c340b1648837d
parentb348090d6758cc391dc91f8a8233b18f0acc8458
drm/i915: Test simultaneously submitting requests to all engines

Use a recursive-batch to busy spin on each to ensure that each is being
run simultaneously.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-14-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_request.c