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.c49 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create); in anv_gem_create()
65 intel_ioctl(device->fd, DRM_IOCTL_GEM_CLOSE, &close); in anv_gem_close()
84 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE_EXT, in anv_gem_create_regions()
108 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP_OFFSET, &gem_mmap); in anv_gem_mmap_offset()
131 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP, &gem_mmap); in anv_gem_mmap_legacy()
179 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in anv_gem_userptr()
195 return intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &gem_caching); in anv_gem_set_caching()
208 return intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &gem_set_domain); in anv_gem_set_domain()
221 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in anv_gem_busy()
240 int ret = intel_ioctl(device->fd, DRM_IOCTL_I915_GEM_WAIT, &wait); in anv_gem_wait()
[all …]
Danv_perf.c156 stream_fd = intel_ioctl(device->fd, DRM_IOCTL_I915_PERF_OPEN, &param); in anv_device_perf_open()
262 intel_ioctl(device->fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, &config->config_id); in anv_ReleasePerformanceConfigurationINTEL()
285 int ret = intel_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_QueueSetPerformanceConfigurationINTEL()
Danv_batch_chain.c2015 int ret = intel_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_queue_execbuf_locked()
/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()
Dintel_gem.h69 intel_ioctl(int fd, unsigned long request, void *arg) in intel_ioctl() function
102 int ret = intel_ioctl(fd, DRM_IOCTL_I915_QUERY, &args); in intel_i915_query_flags()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c262 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in crocus_bo_busy()
279 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in crocus_bo_madvise()
358 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE, &create) != 0) { in alloc_fresh_bo()
381 if (intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd) != 0) { in alloc_fresh_bo()
438 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &arg) == 0) { in bo_alloc_internal()
486 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) in crocus_bo_create_userptr()
495 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd)) in crocus_bo_create_userptr()
514 intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &bo->gem_handle); in crocus_bo_create_userptr()
544 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in crocus_bo_gem_create_from_name()
579 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.c141 intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in get_aperture_size()
Dcrocus_batch.c885 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()
448 return intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args) == 0; in iris_fence_finish()
466 intel_ioctl(sync_fd, SYNC_IOC_MERGE, &args); in sync_merge_fd()
496 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
511 intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
537 if (intel_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args) == -1) { in iris_fence_create_fd()
Diris_bufmgr.c416 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in iris_bo_busy_gem()
465 ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in iris_bo_wait_syncobj()
516 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in iris_bo_madvise()
943 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create) != 0) { in alloc_fresh_bo()
954 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE, &create) != 0) { in alloc_fresh_bo()
977 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd); in alloc_fresh_bo()
1073 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &arg) != 0) in iris_bo_alloc()
1107 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) in iris_bo_create_userptr()
1117 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd)) in iris_bo_create_userptr()
1145 intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &close); in iris_bo_create_userptr()
[all …]
Diris_batch.c617 if (intel_ioctl(screen->fd, DRM_IOCTL_I915_GET_RESET_STATS, &stats)) in iris_batch_check_for_reset()
842 intel_ioctl(batch->screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf)) in submit_batch()
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c1209 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); in getparam()
1370 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in intel_get_aperture_size()
1386 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create)) { in has_get_tiling()
1394 ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &get_tiling); in has_get_tiling()
1399 intel_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close); in has_get_tiling()
/third_party/mesa3d/src/intel/perf/
Dintel_perf.c251 return intel_ioctl(fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, in kernel_has_dynamic_config_support()
319 int ret = intel_ioctl(fd, DRM_IOCTL_I915_PERF_ADD_CONFIG, &i915_config); in i915_add_config()
583 int ret = intel_ioctl(drm_fd, DRM_IOCTL_I915_GETPARAM, &gp); in i915_perf_version()
600 intel_ioctl(drm_fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &arg); in i915_get_sseu()
Dintel_perf_query.c326 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_ENABLE, 0) < 0) in inc_n_users()
345 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_DISABLE, 0) < 0) in dec_n_users()
413 int fd = intel_ioctl(drm_fd, DRM_IOCTL_I915_PERF_OPEN, &param); in intel_perf_open()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c930 intel_ioctl(export->drm_fd, DRM_IOCTL_GEM_CLOSE, &close); in bo_unreference_final()
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst4296 - iris: finish converting from drmIoctl to intel_ioctl