[PATCH i-g-t 1/3] lib/xe/xe_spin: Update xe_spin with exec_sync

sai.gowtham.ch at intel.com sai.gowtham.ch at intel.com
Wed Mar 20 15:54:28 UTC 2024


From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>

When a spinner is submitted with LR mode, exec_sync can be used
as GPU address when sync is passed in via exec IOCTL.

Cc:Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
---
 lib/xe/xe_spin.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/xe/xe_spin.h b/lib/xe/xe_spin.h
index 5c8c45143..87b7c1716 100644
--- a/lib/xe/xe_spin.h
+++ b/lib/xe/xe_spin.h
@@ -38,6 +38,7 @@ struct xe_spin {
 	uint32_t start;
 	uint32_t end;
 	uint32_t ticks_delta;
+	uint64_t exec_sync;
 };
 
 igt_spin_t *xe_spin_create(int fd, const struct igt_spin_factory *opt);
-- 
2.39.1



More information about the igt-dev mailing list