diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-09 23:08:35 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-10 16:46:21 +0000 |
commit | 3ce291a632cd313a70ce56afbf59b3bee5527dcc (patch) | |
tree | 1926d7e515917dd2e35ac79b484ba3454250d237 /drivers/gpu | |
parent | b42d5a678299bf5a46a6dfd44b86a63b5c497200 (diff) | |
download | linux-3ce291a632cd313a70ce56afbf59b3bee5527dcc.tar.bz2 |
drm/i915/selftests: Disable capturing forced error states
When we are forcing the error for a selftest, we don't need to capture
the GPU state (typically).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200209230838.361154-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/gem/selftests/mock_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gem/selftests/mock_context.c b/drivers/gpu/drm/i915/gem/selftests/mock_context.c index 81764289cf0d..b12ea1daa29d 100644 --- a/drivers/gpu/drm/i915/gem/selftests/mock_context.c +++ b/drivers/gpu/drm/i915/gem/selftests/mock_context.c @@ -107,6 +107,7 @@ kernel_context(struct drm_i915_private *i915) i915_gem_context_clear_bannable(ctx); i915_gem_context_set_persistence(ctx); + i915_gem_context_set_no_error_capture(ctx); return ctx; } |