]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Live testing for context execution
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:49 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:44 +0000 (20:46 +0000)
commitd7ce8ff754bc8b8eb49eb93768cecce53561f01e
tree541f83f8285c0b8ea672105a8e9307bfa053f8d7
parent4158c2b862538f0c497922c4d440915c2165078b
drm/i915: Live testing for context execution

Check we can create and execution within a context.

v2: Write one set of dwords through each context/engine to exercise more
contexts within the same time period.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-38-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/selftests/i915_gem_context.c [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/i915_live_selftests.h