[igt-dev] [PATCH i-g-t] i915/i915_hangman: Idle the gpu for next test
Kamil Konieczny
kamil.konieczny at linux.intel.com
Fri Oct 7 19:12:27 UTC 2022
On 2022-10-07 at 18:02:03 +0200, Nirmoy Das wrote:
> After each subtest gpu should be idle or else busy
> engine leaks into next subtest.
>
> References: https://gitlab.freedesktop.org/drm/intel/-/issues/5888
> Suggested-by: Chris Wilson <chris.p.wilson at intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> tests/i915/i915_hangman.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/i915_hangman.c b/tests/i915/i915_hangman.c
> index ddbe10675a..8acce8f1a4 100644
> --- a/tests/i915/i915_hangman.c
> +++ b/tests/i915/i915_hangman.c
> @@ -96,6 +96,7 @@ static void check_alive(void)
> gem_close(fd, scratch);
> put_ahnd(ahnd);
> intel_ctx_destroy(fd, ctx);
> + gem_quiescent_gpu(fd);
> close(fd);
> }
>
> --
> 2.37.3
>
More information about the igt-dev
mailing list