Commit 3ce291a6 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200209230838.361154-1-chris@chris-wilson.co.uk
parent b42d5a67
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}