Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Subject: [igt-dev] [i-g-t V2 1/5] lib/igt_gt: Fix igt_post_hang_ring for XE driver
Date: Tue,  5 Sep 2023 22:12:26 +0530	[thread overview]
Message-ID: <20230905164230.1679263-2-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230905164230.1679263-1-bhanuprakash.modem@intel.com>

Fix igt_post_hang_ring() to not execute gem specific logic
for XE driver.

Cc: Kunal Joshi <kunal1.joshi@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 lib/igt_gt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/igt_gt.c b/lib/igt_gt.c
index 7cf0e468e..a24a566c7 100644
--- a/lib/igt_gt.c
+++ b/lib/igt_gt.c
@@ -384,6 +384,8 @@ void igt_post_hang_ring(int fd, igt_hang_t arg)
 	if (is_xe_device(fd)) {
 		igt_spin_free(fd, arg.spin);
 		xe_post_hang_ring(fd, arg);
+
+		return;
 	}
 
 	gem_sync(fd, arg.spin->handle); /* Wait until it hangs */
-- 
2.40.0

  reply	other threads:[~2023-09-05 16:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 16:42 [igt-dev] [i-g-t V2 0/5] Enable hang tests for XE Bhanuprakash Modem
2023-09-05 16:42 ` Bhanuprakash Modem [this message]
2023-09-05 16:42 ` [igt-dev] [i-g-t V2 2/5] tests/kms_vblank: Allow hang tests to run on XE Bhanuprakash Modem
2023-09-05 16:42 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: Fix testplan documentation for hang tests Bhanuprakash Modem
2023-09-05 16:42 ` [igt-dev] [i-g-t V2 4/5] tests/intel-ci/xe.blocklist: Drop hang tests from xe blocklist Bhanuprakash Modem
2023-09-05 16:42 ` [igt-dev] [i-g-t V2 5/5] HAX: Add hang tests to xe BAT Bhanuprakash Modem
2023-09-05 19:37 ` [igt-dev] ✗ Fi.CI.BAT: failure for Enable hang tests for XE (rev2) Patchwork
2023-09-05 23:15 ` [igt-dev] ✗ Fi.CI.BAT: failure for Enable hang tests for XE (rev3) Patchwork
2023-09-06  5:26   ` Modem, Bhanuprakash
2023-09-06  7:53     ` Yedireswarapu, SaiX Nandan
2023-09-06  7:04 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-09-06  8:32 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230905164230.1679263-2-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox