Lines Matching refs:syncobj_desc
92 struct drm_virtgpu_execbuffer_syncobj syncobj_desc; in virtio_gpu_parse_deps() local
115 memset(&syncobj_desc, 0, sizeof(syncobj_desc)); in virtio_gpu_parse_deps()
117 if (copy_from_user(&syncobj_desc, in virtio_gpu_parse_deps()
119 min(syncobj_stride, sizeof(syncobj_desc)))) { in virtio_gpu_parse_deps()
124 if (syncobj_desc.flags & ~VIRTGPU_EXECBUF_SYNCOBJ_FLAGS) { in virtio_gpu_parse_deps()
129 ret = drm_syncobj_find_fence(submit->file, syncobj_desc.handle, in virtio_gpu_parse_deps()
130 syncobj_desc.point, 0, &fence); in virtio_gpu_parse_deps()
140 if (syncobj_desc.flags & VIRTGPU_EXECBUF_SYNCOBJ_RESET) { in virtio_gpu_parse_deps()
142 syncobj_desc.handle); in virtio_gpu_parse_deps()
189 struct drm_virtgpu_execbuffer_syncobj syncobj_desc; in virtio_gpu_parse_post_deps() local
205 memset(&syncobj_desc, 0, sizeof(syncobj_desc)); in virtio_gpu_parse_post_deps()
207 if (copy_from_user(&syncobj_desc, in virtio_gpu_parse_post_deps()
209 min(syncobj_stride, sizeof(syncobj_desc)))) { in virtio_gpu_parse_post_deps()
214 post_deps[i].point = syncobj_desc.point; in virtio_gpu_parse_post_deps()
216 if (syncobj_desc.flags) { in virtio_gpu_parse_post_deps()
221 if (syncobj_desc.point) { in virtio_gpu_parse_post_deps()
230 syncobj_desc.handle); in virtio_gpu_parse_post_deps()