Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c93 struct drm_virtgpu_3d_wait waitcmd; in virgl_drm_resource_is_busy() local
99 memset(&waitcmd, 0, sizeof(waitcmd)); in virgl_drm_resource_is_busy()
100 waitcmd.handle = res->bo_handle; in virgl_drm_resource_is_busy()
101 waitcmd.flags = VIRTGPU_WAIT_NOWAIT; in virgl_drm_resource_is_busy()
103 ret = drmIoctl(vdws->fd, DRM_IOCTL_VIRTGPU_WAIT, &waitcmd); in virgl_drm_resource_is_busy()
582 struct drm_virtgpu_3d_wait waitcmd; in virgl_drm_resource_wait() local
588 memset(&waitcmd, 0, sizeof(waitcmd)); in virgl_drm_resource_wait()
589 waitcmd.handle = res->bo_handle; in virgl_drm_resource_wait()
591 ret = drmIoctl(qdws->fd, DRM_IOCTL_VIRTGPU_WAIT, &waitcmd); in virgl_drm_resource_wait()
/external/minigbm/
Dvirtgpu_virgl.c770 struct drm_virtgpu_3d_wait waitcmd = { 0 }; in virgl_bo_invalidate() local
847 waitcmd.handle = mapping->vma->handle; in virgl_bo_invalidate()
848 ret = drmIoctl(bo->drv->fd, DRM_IOCTL_VIRTGPU_WAIT, &waitcmd); in virgl_bo_invalidate()
862 struct drm_virtgpu_3d_wait waitcmd = { 0 }; in virgl_bo_flush() local
925 waitcmd.handle = mapping->vma->handle; in virgl_bo_flush()
927 ret = drmIoctl(bo->drv->fd, DRM_IOCTL_VIRTGPU_WAIT, &waitcmd); in virgl_bo_flush()