Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH 1/2] xe_vm: Unmap BOs in bind queue independent test
@ 2023-07-02 22:14 Matthew Brost
  2023-07-02 22:14 ` [igt-dev] [PATCH 2/2] xe_vm: add bind engine conflict section Matthew Brost
  2023-07-02 23:23 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [1/2] xe_vm: Unmap BOs in bind queue independent test Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Brost @ 2023-07-02 22:14 UTC (permalink / raw)
  To: igt-dev

Exercises the maple tree dep tracker logic.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
 tests/xe/xe_vm.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/xe/xe_vm.c b/tests/xe/xe_vm.c
index 8eba6643a..dd09a4f91 100644
--- a/tests/xe/xe_vm.c
+++ b/tests/xe/xe_vm.c
@@ -819,6 +819,12 @@ test_bind_engines_independent(int fd, struct drm_xe_engine_class_instance *eci)
 				NULL));
 	igt_assert_eq(data[0].data, 0xc0ffee);
 
+	syncobj_destroy(fd, sync[0].handle);
+	sync[0].handle = syncobj_create(fd, 0);
+	sync[0].flags |= DRM_XE_SYNC_SIGNAL;
+	xe_vm_unbind_all_async(fd, vm, 0, bo, sync, 1);
+	igt_assert(syncobj_wait(fd, &sync[0].handle, 1, INT64_MAX, 0, NULL));
+
 	syncobj_destroy(fd, sync[0].handle);
 	for (i = 0; i < N_ENGINES; i++) {
 		syncobj_destroy(fd, syncobjs[i]);
-- 
2.34.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-02 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-02 22:14 [igt-dev] [PATCH 1/2] xe_vm: Unmap BOs in bind queue independent test Matthew Brost
2023-07-02 22:14 ` [igt-dev] [PATCH 2/2] xe_vm: add bind engine conflict section Matthew Brost
2023-07-02 23:23 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [1/2] xe_vm: Unmap BOs in bind queue independent test Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox