[Intel-gfx] [PATCH 1/4] drm/i915/selftests: Disable capturing forced error states

Mika Kuoppala mika.kuoppala at linux.intel.com
Mon Feb 10 11:27:01 UTC 2020


Chris Wilson <chris at chris-wilson.co.uk> writes:

> 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 at chris-wilson.co.uk>

Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>

> ---
>  drivers/gpu/drm/i915/gem/selftests/mock_context.c | 1 +
>  1 file changed, 1 insertion(+)
>
> 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;
>  }
> -- 
> 2.25.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list