Lines Matching refs:anv_ioctl
35 anv_ioctl(int fd, unsigned long request, void *arg) in anv_ioctl() function
58 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create); in anv_gem_create()
74 anv_ioctl(device->fd, DRM_IOCTL_GEM_CLOSE, &close); in anv_gem_close()
91 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP, &gem_mmap); in anv_gem_mmap()
118 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in anv_gem_userptr()
134 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &gem_caching); in anv_gem_set_caching()
147 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &gem_set_domain); in anv_gem_set_domain()
160 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in anv_gem_busy()
179 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_WAIT, &wait); in anv_gem_wait()
190 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2_WR, execbuf); in anv_gem_execbuffer()
192 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf); in anv_gem_execbuffer()
203 if (anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) { in anv_gem_get_tiling()
243 int ret = anv_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); in anv_gem_get_param()
260 if (anv_ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create)) { in anv_gem_get_bit6_swizzle()
289 if (anv_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) { in anv_gem_get_bit6_swizzle()
300 anv_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close); in anv_gem_get_bit6_swizzle()
310 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create); in anv_gem_create_context()
324 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_CONTEXT_DESTROY, &destroy); in anv_gem_destroy_context()
335 int ret = anv_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &gp); in anv_gem_get_context_param()
348 int ret = anv_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in anv_gem_get_aperture()
370 int ret = anv_ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf); in anv_gem_supports_48b_addresses()
383 int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GET_RESET_STATS, &stats); in anv_gem_gpu_get_reset_stats()
400 int ret = anv_ioctl(device->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); in anv_gem_handle_to_fd()
414 int ret = anv_ioctl(device->fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &args); in anv_gem_fd_to_handle()
449 int ret = anv_ioctl(fd1, SYNC_IOC_MERGE, &args); in anv_gem_sync_file_merge()
463 int ret = anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); in anv_gem_syncobj_create()
477 anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_DESTROY, &args); in anv_gem_syncobj_destroy()
487 int ret = anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in anv_gem_syncobj_handle_to_fd()
501 int ret = anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args); in anv_gem_syncobj_fd_to_handle()
516 int ret = anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in anv_gem_syncobj_export_sync_file()
533 return anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args); in anv_gem_syncobj_import_sync_file()
544 anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_RESET, &args); in anv_gem_syncobj_reset()
555 ret = anv_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &create); in anv_gem_supports_syncobj_wait()
567 ret = anv_ioctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait); in anv_gem_supports_syncobj_wait()
572 anv_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &destroy); in anv_gem_supports_syncobj_wait()
595 return anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in anv_gem_syncobj_wait()