drm/i915/selftests: Check preemption rollback of different ring queue depths
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 16 Jun 2020 23:37:33 +0000 (00:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Jun 2020 00:56:10 +0000 (01:56 +0100)
commitdfdfbd382348d53aeedaeee10eeea9a5958a3977
tree27684a4c9272551916e1abe88582cc9f69e86ee7
parentba0cada97656fa963a97b476816c0dc4185e4aa8
drm/i915/selftests: Check preemption rollback of different ring queue depths

Like live_unlite_ring, but instead of simply looking at the impact of
intel_ring_direction(), check that preemption more generally works with
different depths of queued requests in the ring.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200616233733.18050-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c