File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
shared/source/os_interface/linux Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ struct SyncObjHandle {
207207 uint32_t flags;
208208 int32_t fd;
209209 uint32_t pad;
210+ uint64_t point;
210211};
211212
212213struct SyncObjWait {
@@ -216,6 +217,7 @@ struct SyncObjWait {
216217 uint32_t flags;
217218 uint32_t firstSignaled;
218219 uint32_t pad;
220+ uint64_t deadlineNs;
219221};
220222
221223struct SyncObjTimelineWait {
@@ -226,6 +228,7 @@ struct SyncObjTimelineWait {
226228 uint32_t flags;
227229 uint32_t firstSignaled;
228230 uint32_t pad;
231+ uint64_t deadlineNs;
229232};
230233
231234struct SyncObjArray {
@@ -238,7 +241,7 @@ struct SyncObjTimelineArray {
238241 uint64_t handles;
239242 uint64_t points;
240243 uint32_t countHandles;
241- uint32_t pad ;
244+ uint32_t flags ;
242245};
243246
244247struct PrimaryContextHandle {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ bool ExternalSemaphoreLinux::enqueueSignal(uint64_t *fenceValue) {
105105 auto ioctlHelper = drm->getIoctlHelper ();
106106
107107 if (this ->type == ExternalSemaphore::TimelineSemaphoreFd) {
108- struct SyncObjTimelineArray args;
108+ struct SyncObjTimelineArray args = {} ;
109109 args.handles = reinterpret_cast <uintptr_t >(&this ->syncHandle );
110110 args.points = reinterpret_cast <uintptr_t >(fenceValue);
111111 args.countHandles = 1u ;
@@ -115,7 +115,7 @@ bool ExternalSemaphoreLinux::enqueueSignal(uint64_t *fenceValue) {
115115 return false ;
116116 }
117117 } else {
118- struct SyncObjArray args;
118+ struct SyncObjArray args = {} ;
119119 args.handles = reinterpret_cast <uintptr_t >(&this ->syncHandle );
120120 args.countHandles = 1u ;
121121
@@ -128,4 +128,4 @@ bool ExternalSemaphoreLinux::enqueueSignal(uint64_t *fenceValue) {
128128 return true ;
129129}
130130
131- } // namespace NEO
131+ } // namespace NEO
You can’t perform that action at this time.
0 commit comments