From: Chris Wilson Date: Sun, 9 Feb 2020 23:08:35 +0000 (+0000) Subject: drm/i915/selftests: Disable capturing forced error states X-Git-Tag: baikal/mips/sdk5.9~13997^2~18^2~112 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=0b6bb5df140e70e69ad79c2161b2d7c3354830eb;p=kernel.git 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 Reviewed-by: Mika Kuoppala Link: https://patchwork.freedesktop.org/patch/msgid/20200209230838.361154-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/gem/selftests/mock_context.c b/drivers/gpu/drm/i915/gem/selftests/mock_context.c index 81764289cf0da..b12ea1daa29d9 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; }