Home
last modified time | relevance | path

Searched refs:syncobj_desc (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c92 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
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_submit.c585 struct drm_msm_gem_submit_syncobj syncobj_desc = {0}; in msm_parse_deps() local
597 if (copy_from_user(&syncobj_desc, in msm_parse_deps()
599 min(syncobj_stride, sizeof(syncobj_desc)))) { in msm_parse_deps()
604 if (syncobj_desc.point && in msm_parse_deps()
610 if (syncobj_desc.flags & ~MSM_SUBMIT_SYNCOBJ_FLAGS) { in msm_parse_deps()
616 syncobj_desc.handle, syncobj_desc.point); in msm_parse_deps()
620 if (syncobj_desc.flags & MSM_SUBMIT_SYNCOBJ_RESET) { in msm_parse_deps()
622 drm_syncobj_find(file, syncobj_desc.handle); in msm_parse_deps()
659 struct drm_msm_gem_submit_syncobj syncobj_desc = {0}; in msm_parse_post_deps() local
671 if (copy_from_user(&syncobj_desc, in msm_parse_post_deps()
[all …]