]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd70a270eee2c1918a0a26ce23198b25b117ff29
treecba33ebaab898479be1fe4d41b6b0e6cd14fc7a5
parent9ca69da801d444ca3cb33d59685d63a8fa0f2b3b
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