[Intel-gfx] [PATCH v2 1/9] drm/i915/selftests: Move some reset testcases to separate file

Chris Wilson chris at chris-wilson.co.uk
Wed May 22 19:53:11 UTC 2019


Quoting Michal Wajdeczko (2019-05-22 20:31:55)
> igt_global_reset and igt_wedged_reset testcases are first candidates.
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

> diff --git a/drivers/gpu/drm/i915/gt/selftest_reset.c b/drivers/gpu/drm/i915/gt/selftest_reset.c
> new file mode 100644
> index 000000000000..ef90101bb87a
> --- /dev/null
> +++ b/drivers/gpu/drm/i915/gt/selftest_reset.c
> @@ -0,0 +1,76 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright © 2018 Intel Corporation
> + */
> +
> +#include "i915_selftest.h"
> +#include "selftests/igt_reset.h"

Oh, I missed that helper.
-Chris


More information about the Intel-gfx mailing list