[igt-dev] [i-g-t V3 1/6] lib/igt_gt: Fix igt_post_hang_ring for XE driver
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Sep 6 08:08:35 UTC 2023
Fix igt_post_hang_ring() to not execute gem specific logic
for XE driver.
Cc: Kunal Joshi <kunal1.joshi at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at 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
More information about the igt-dev
mailing list