drm/i915/selftests: Add tests for timeslicing virtual engines
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 13:20:44 +0000 (14:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 17:52:03 +0000 (18:52 +0100)
commit4fe13f28d66ab568bb7303130b79347aa47f7ceb
tree8c7508b5edb78f1b74409b8c13d925af7adbc3a0
parentf73fbb5a59a7060f81afe4f924a69ab6bff0c46d
drm/i915/selftests: Add tests for timeslicing virtual engines

Make sure that we can execute a virtual request on an already busy
engine, and conversely that we can execute a normal request if the
engines are already fully occupied by virtual requests.

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/20200519132046.22443-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c