OSDN Git Service

drm/i915/selftests: Split preemption smoke test into threads
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 12:32:01 +0000 (13:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 14:26:16 +0000 (15:26 +0100)
commit992d2098ef0bc1256016fec86e4082524e2f52cc
treeca86d5bed6c06d0e0f97af49ae2ff955a650bfc3
parent7769db5883841b03de544a35a71ff528d4131c17
drm/i915/selftests: Split preemption smoke test into threads

When submitting chains to each engine, we can do so (mostly) in
parallel, so delegate submission to threads on a per-engine basis.

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