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)
commit791ff39ae32a34816cdca40891f142f4122ad409
tree541f83f8285c0b8ea672105a8e9307bfa053f8d7
parentaf1f83a152b5cf6a9a780b7204805cbe0ff905da
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