Home
last modified time | relevance | path

Searched refs:intel_ioctl (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_gem.c48 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create); in anv_gem_create()
64 intel_ioctl(device->fd, DRM_IOCTL_GEM_CLOSE, &close); in anv_gem_close()
87 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE_EXT, in anv_gem_create_regions()
111 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP_OFFSET, &gem_mmap); in anv_gem_mmap_offset()
134 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP, &gem_mmap); in anv_gem_mmap_legacy()
182 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in anv_gem_userptr()
198 return intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &gem_caching); in anv_gem_set_caching()
211 return intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &gem_set_domain); in anv_gem_set_domain()
224 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in anv_gem_busy()
243 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_WAIT, &wait); in anv_gem_wait()
[all …]
Danv_perf.c153 stream_fd = intel_ioctl(device->fd, DRM_IOCTL_I915_PERF_OPEN, &param); in anv_device_perf_open()
259 intel_ioctl(device->fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, &config->config_id); in anv_ReleasePerformanceConfigurationINTEL()
282 int ret = intel_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_QueueSetPerformanceConfigurationINTEL()
Danv_batch_chain.c2231 int ret = intel_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_queue_exec_locked()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c261 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in crocus_bo_busy()
278 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in crocus_bo_madvise()
357 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE, &create) != 0) { in alloc_fresh_bo()
380 if (intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd) != 0) { in alloc_fresh_bo()
440 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &arg) == 0) { in bo_alloc_internal()
488 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) in crocus_bo_create_userptr()
497 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd)) in crocus_bo_create_userptr()
516 intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &bo->gem_handle); in crocus_bo_create_userptr()
546 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in crocus_bo_gem_create_from_name()
581 ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling); in crocus_bo_gem_create_from_name()
[all …]
Dcrocus_fence.c45 intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); in gem_syncobj_create()
57 intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &args); in gem_syncobj_destroy()
206 return intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in crocus_wait_syncobj()
379 return intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args) == 0; in crocus_fence_finish()
415 intel_ioctl(sync_fd, SYNC_IOC_MERGE, &args); in sync_merge_fd()
445 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in crocus_fence_get_fd()
461 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in crocus_fence_get_fd()
485 if (intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args) == -1) { in crocus_fence_create_fd()
Dcrocus_screen.c131 intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in get_aperture_size()
Dcrocus_batch.c894 intel_ioctl(batch->screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf)) in submit_batch()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c47 intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); in gem_syncobj_create()
59 intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &args); in gem_syncobj_destroy()
99 if (intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_SIGNAL, &args)) { in iris_syncobj_signal()
229 return intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in iris_wait_syncobj()
449 return intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args) == 0; in iris_fence_finish()
467 intel_ioctl(sync_fd, SYNC_IOC_MERGE, &args); in sync_merge_fd()
497 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
512 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
538 if (intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args) == -1) { in iris_fence_create_fd()
Diris_bufmgr.c445 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in iris_bo_busy_gem()
494 ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in iris_bo_wait_syncobj()
545 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in iris_bo_madvise()
1009 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create) != 0) { in alloc_fresh_bo()
1020 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE, &create) != 0) { in alloc_fresh_bo()
1042 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd); in alloc_fresh_bo()
1151 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &arg) != 0) in iris_bo_alloc()
1187 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) in iris_bo_create_userptr()
1197 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd)) in iris_bo_create_userptr()
1225 intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &close); in iris_bo_create_userptr()
[all …]
Diris_batch.c773 if (intel_ioctl(screen->fd, DRM_IOCTL_I915_GET_RESET_STATS, &stats)) in iris_batch_check_for_reset()
994 intel_ioctl(batch->screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf)) in submit_batch()
/third_party/mesa3d/src/intel/common/
Dintel_gem.c34 ret = intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &create); in intel_gem_supports_syncobj_wait()
46 ret = intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait); in intel_gem_supports_syncobj_wait()
51 intel_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &destroy); in intel_gem_supports_syncobj_wait()
158 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT, &create); in intel_gem_create_context_engines()
Dintel_gem.h69 intel_ioctl(int fd, unsigned long request, void *arg) in intel_ioctl() function
86 if (intel_ioctl(fd, DRM_IOCTL_I915_REG_READ, &reg_read) < 0) in intel_read_gpu_timestamp()
115 int ret = intel_ioctl(fd, DRM_IOCTL_I915_QUERY, &args); in intel_i915_query_flags()
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c1412 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); in getparam()
1428 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &gp); in get_context_param()
1702 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in intel_get_aperture_size()
1719 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create)) { in has_bit6_swizzle()
1748 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) { in has_bit6_swizzle()
1759 intel_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close); in has_bit6_swizzle()
1773 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create)) { in has_get_tiling()
1781 ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &get_tiling); in has_get_tiling()
1786 intel_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close); in has_get_tiling()
/third_party/mesa3d/src/intel/perf/
Dintel_perf.c249 return intel_ioctl(fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, in kernel_has_dynamic_config_support()
317 int ret = intel_ioctl(fd, DRM_IOCTL_I915_PERF_ADD_CONFIG, &i915_config); in i915_add_config()
594 int ret = intel_ioctl(drm_fd, DRM_IOCTL_I915_GETPARAM, &gp); in i915_perf_version()
611 intel_ioctl(drm_fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &arg); in i915_get_sseu()
Dintel_perf_query.c313 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_ENABLE, 0) < 0) in inc_n_users()
332 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_DISABLE, 0) < 0) in dec_n_users()
408 int fd = intel_ioctl(drm_fd, DRM_IOCTL_I915_PERF_OPEN, &param); in intel_perf_open()
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst2618 - intel/ds: reuse intel_ioctl()
D21.2.0.rst4296 - iris: finish converting from drmIoctl to intel_ioctl