]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Use a random engine for GEM coherency tests
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 27 Oct 2019 22:58:07 +0000 (22:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 28 Oct 2019 11:42:59 +0000 (11:42 +0000)
commitfb5bee429af4aac583aa7661143324542f470dea
tree5fe67ddc60aa3135cf80930eb4c9e7bdf822902d
parent3a5686f606a7804cd7d4aad83979e44ec2ea0f5b
drm/i915/selftests: Use a random engine for GEM coherency tests

Select a random user accessible engine for checking coherency results.
While we should check all engines, we use a random selection so that
over repeated runs we cover all.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191027225808.19437-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c