drm/i915/selftests: Check preemption support on each engine
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Mar 2019 14:25:01 +0000 (14:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 09:34:49 +0000 (09:34 +0000)
commit3123ada8eb5dd8889d25d63b5a0943f08b2d4390
treecba33ebaab898479be1fe4d41b6b0e6cd14fc7a5
parent209d73530d7effed2acf7e5b88ea5cf8c73a800b
drm/i915/selftests: Check preemption support on each engine

Check that we have setup on preemption for the engine before testing,
instead warn if it is not enabled on supported HW.

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/20190306142517.22558-28-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_lrc.c