[PATCH v4 2/3] tests/xe_waitfence: Removed drm_xe_sync data in exec_queue_reset_wait
Bommu Krishnaiah
krishnaiah.bommu at intel.com
Mon Jan 22 02:45:42 UTC 2024
drm_xe_sync flags are declared wrongly and drm_xe_sync data is not used
in this test, hence removing drm_xe_sync which is unused.
Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
tests/intel/xe_waitfence.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/tests/intel/xe_waitfence.c b/tests/intel/xe_waitfence.c
index dfdb97fb5..e6354b3ff 100644
--- a/tests/intel/xe_waitfence.c
+++ b/tests/intel/xe_waitfence.c
@@ -221,16 +221,8 @@ exec_queue_reset_wait(int fd)
uint32_t data;
} *data;
-#define USER_FENCE_VALUE 0xdeadbeefdeadbeefull
- struct drm_xe_sync sync[1] = {
- { .flags = DRM_XE_SYNC_TYPE_USER_FENCE | DRM_XE_SYNC_FLAG_SIGNAL,
- .timeline_value = USER_FENCE_VALUE },
- };
-
struct drm_xe_exec exec = {
.num_batch_buffer = 1,
- .num_syncs = 1,
- .syncs = to_user_pointer(sync),
};
uint32_t vm = xe_vm_create(fd, 0, 0);
--
2.25.1
More information about the igt-dev
mailing list