Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id ED7AB10E008 for ; Fri, 7 Oct 2022 16:02:12 +0000 (UTC) From: Nirmoy Das To: igt-dev@lists.freedesktop.org Date: Fri, 7 Oct 2022 18:02:03 +0200 Message-Id: <20221007160203.8079-1-nirmoy.das@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t] i915/i915_hangman: Idle the gpu for next test List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: chris.p.wilson@intel.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: 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 Signed-off-by: Nirmoy Das --- 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