mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-27 16:00:46 +09:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user