]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Be engine agnostic
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 21:23:43 +0000 (22:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 21:55:00 +0000 (22:55 +0100)
commit65ad83a8a7e5a474f0051534e0f4f63dc6719c83
tree728937a403f2af55e8c69c0a27f276a243010356
parenta30db0c6ca76837b2d44be14b1c61b234946a4a1
drm/i915/selftests: Be engine agnostic

When using MI operations, we do not care which engine we use, so use
them all where possible, and where inconvenient double check we have the
engine we selected at random.

v2: Drop the local copy of engine->sseu to avoid an unchecked deref

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/20190704212343.6820-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/huge_pages.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c