diff --git a/src/intel/common/tests/mi_builder_test.cpp b/src/intel/common/tests/mi_builder_test.cpp index a77a71ccca4..ad23f871c6c 100644 --- a/src/intel/common/tests/mi_builder_test.cpp +++ b/src/intel/common/tests/mi_builder_test.cpp @@ -573,9 +573,10 @@ mi_builder_test::submit_batch() { .type = DRM_XE_SYNC_TYPE_SYNCOBJ, .flags = DRM_XE_SYNC_FLAG_SIGNAL, - .handle = sync_handles[0], + .addr = 0, }, }; + bind_syncs[0].handle = sync_handles[0]; struct drm_xe_vm_bind bind = { .vm_id = xe.vm_id, @@ -596,9 +597,10 @@ mi_builder_test::submit_batch() { .type = DRM_XE_SYNC_TYPE_SYNCOBJ, .flags = DRM_XE_SYNC_FLAG_SIGNAL, - .handle = sync_handles[1], + .addr = 0, } }; + exec_syncs[0].handle = sync_handles[1]; struct drm_xe_exec exec = { .exec_queue_id = xe.queue_id, diff --git a/src/intel/executor/executor_main.c b/src/intel/executor/executor_main.c index e0e7d57efe4..304a2a83276 100644 --- a/src/intel/executor/executor_main.c +++ b/src/intel/executor/executor_main.c @@ -547,10 +547,11 @@ executor_context_dispatch(executor_context *ec) struct drm_xe_sync bind_syncs[] = { { .type = DRM_XE_SYNC_TYPE_SYNCOBJ, - .handle = sync_handles[0], + .addr = 0, .flags = DRM_XE_SYNC_FLAG_SIGNAL, }, }; + bind_syncs[0].handle = sync_handles[0]; struct drm_xe_vm_bind bind = { .vm_id = ec->xe.vm_id, @@ -567,14 +568,16 @@ executor_context_dispatch(executor_context *ec) struct drm_xe_sync exec_syncs[] = { { .type = DRM_XE_SYNC_TYPE_SYNCOBJ, - .handle = sync_handles[0], + .addr = 0, }, { .type = DRM_XE_SYNC_TYPE_SYNCOBJ, - .handle = sync_handles[1], + .addr = 0, .flags = DRM_XE_SYNC_FLAG_SIGNAL, } }; + exec_syncs[0].handle = sync_handles[0]; + exec_syncs[1].handle = sync_handles[1]; struct drm_xe_exec exec = { .exec_queue_id = ec->xe.queue_id,