drm/i915/selftests: Exercise all copy engines with the blt routines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jun 2020 12:36:41 +0000 (13:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jun 2020 13:24:21 +0000 (14:24 +0100)
commitd61345f342981f31022f56277cf2826c8d28ae7e
tree401ada122977c9933ab232b79b8bdac0854ca65e
parent34becfdb945a5eb819b7c8e4f0ec5cc5952ec68f
drm/i915/selftests: Exercise all copy engines with the blt routines

Just to remove an obnoxious HAS_ENGINES(), and in the process make the
code agnostic to the availabilty of any particular engine by making it
exercise any and all such engines declared on the system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200604123641.767-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c
drivers/gpu/drm/i915/gem/selftests/mock_context.c
drivers/gpu/drm/i915/gem/selftests/mock_context.h
drivers/gpu/drm/i915/i915_drv.h