OSDN Git Service

drm/i915/selftests: Use for_each_uabi_engine in contex selftests
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 22 Oct 2019 09:47:26 +0000 (10:47 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 11:16:42 +0000 (12:16 +0100)
commit51757cf4d7e6e1e35c25128b085fd1dabebdf4e8
treefe56db13d58a4ed3fe9d45747bc2bc621416151b
parentd1a03ee7e9d024e0aa140b7959e2a5232cab392a
drm/i915/selftests: Use for_each_uabi_engine in contex selftests

Contexts are not testing physical engines so it makes sense to use the
uabi iterator.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022094726.3001-13-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c