Lines Matching refs:sync_in
112 struct drm_xe_sync sync_in; in xe_sync_entry_parse() local
119 if (copy_from_user(&sync_in, sync_user, sizeof(*sync_user))) in xe_sync_entry_parse()
122 if (XE_IOCTL_DBG(xe, sync_in.flags & ~DRM_XE_SYNC_FLAG_SIGNAL) || in xe_sync_entry_parse()
123 XE_IOCTL_DBG(xe, sync_in.reserved[0] || sync_in.reserved[1])) in xe_sync_entry_parse()
126 signal = sync_in.flags & DRM_XE_SYNC_FLAG_SIGNAL; in xe_sync_entry_parse()
127 switch (sync_in.type) { in xe_sync_entry_parse()
132 if (XE_IOCTL_DBG(xe, upper_32_bits(sync_in.addr))) in xe_sync_entry_parse()
135 sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle); in xe_sync_entry_parse()
150 if (XE_IOCTL_DBG(xe, upper_32_bits(sync_in.addr))) in xe_sync_entry_parse()
153 if (XE_IOCTL_DBG(xe, sync_in.timeline_value == 0)) in xe_sync_entry_parse()
156 sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle); in xe_sync_entry_parse()
170 sync_in.timeline_value); in xe_sync_entry_parse()
183 if (XE_IOCTL_DBG(xe, sync_in.addr & 0x7)) in xe_sync_entry_parse()
187 sync->addr = sync_in.addr; in xe_sync_entry_parse()
189 sync->ufence = user_fence_create(xe, sync_in.addr, in xe_sync_entry_parse()
190 sync_in.timeline_value); in xe_sync_entry_parse()
201 sync->type = sync_in.type; in xe_sync_entry_parse()
202 sync->flags = sync_in.flags; in xe_sync_entry_parse()
203 sync->timeline_value = sync_in.timeline_value; in xe_sync_entry_parse()