diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:46:44 +0000 |
commit | 791ff39ae32a34816cdca40891f142f4122ad409 (patch) | |
tree | 541f83f8285c0b8ea672105a8e9307bfa053f8d7 /drivers/gpu/drm/i915/i915_gem_context.c | |
parent | af1f83a152b5cf6a9a780b7204805cbe0ff905da (diff) | |
download | op-kernel-dev-791ff39ae32a34816cdca40891f142f4122ad409.zip op-kernel-dev-791ff39ae32a34816cdca40891f142f4122ad409.tar.gz |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_context.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_context.c b/drivers/gpu/drm/i915/i915_gem_context.c index d27c405..c73bf02 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.c +++ b/drivers/gpu/drm/i915/i915_gem_context.c @@ -1202,4 +1202,5 @@ int i915_gem_context_reset_stats_ioctl(struct drm_device *dev, #if IS_ENABLED(CONFIG_DRM_I915_SELFTEST) #include "selftests/mock_context.c" +#include "selftests/i915_gem_context.c" #endif |