Home
last modified time | relevance | path

Searched refs:gen_ioctl (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Danv_gem.c49 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create); in anv_gem_create()
65 gen_ioctl(device->fd, DRM_IOCTL_GEM_CLOSE, &close); in anv_gem_close()
83 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP_OFFSET, &gem_mmap); in anv_gem_mmap_offset()
104 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_MMAP, &gem_mmap); in anv_gem_mmap_legacy()
149 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in anv_gem_userptr()
165 return gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &gem_caching); in anv_gem_set_caching()
178 return gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &gem_set_domain); in anv_gem_set_domain()
191 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in anv_gem_busy()
210 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_WAIT, &wait); in anv_gem_wait()
221 return gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2_WR, execbuf); in anv_gem_execbuffer()
[all …]
Danv_perf.c118 stream_fd = gen_ioctl(device->fd, DRM_IOCTL_I915_PERF_OPEN, &param); in anv_device_perf_open()
227 gen_ioctl(device->fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, &config->config_id); in anv_ReleasePerformanceConfigurationINTEL()
250 int ret = gen_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_QueueSetPerformanceConfigurationINTEL()
Danv_batch_chain.c1822 int ret = gen_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_queue_execbuf_locked()
/external/mesa3d/src/intel/common/
Dgen_gem.c34 ret = gen_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &create); in gen_gem_supports_syncobj_wait()
46 ret = gen_ioctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait); in gen_gem_supports_syncobj_wait()
51 gen_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &destroy); in gen_gem_supports_syncobj_wait()
Dgen_gem.h65 gen_ioctl(int fd, unsigned long request, void *arg) in gen_ioctl() function
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c347 int ret = gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in iris_bo_busy()
364 gen_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in iris_bo_madvise()
474 if (gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_CREATE, &create) != 0) { in alloc_fresh_bo()
496 if (gen_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd) != 0) { in alloc_fresh_bo()
575 if (gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_CACHING, &arg) == 0) { in bo_alloc_internal()
627 if (gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_USERPTR, &arg)) in iris_bo_create_userptr()
636 if (gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_SET_DOMAIN, &sd)) in iris_bo_create_userptr()
663 gen_ioctl(bufmgr->fd, DRM_IOCTL_GEM_CLOSE, &close); in iris_bo_create_userptr()
693 int ret = gen_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in iris_bo_gem_create_from_name()
728 ret = gen_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling); in iris_bo_gem_create_from_name()
[all …]
Diris_fence.c47 gen_ioctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); in gem_syncobj_create()
59 gen_ioctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &args); in gem_syncobj_destroy()
210 return gen_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in iris_wait_syncobj()
423 return gen_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_WAIT, &args) == 0; in iris_fence_finish()
441 gen_ioctl(sync_fd, SYNC_IOC_MERGE, &args); in sync_merge_fd()
471 gen_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
486 gen_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in iris_fence_get_fd()
512 if (gen_ioctl(screen->fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args) == -1) { in iris_fence_create_fd()
Diris_batch.c648 gen_ioctl(batch->screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf)) in submit_batch()
/external/mesa3d/src/intel/dev/
Dgen_device_info.c1194 int ret = gen_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); in getparam()
1311 if (gen_ioctl(fd, DRM_IOCTL_I915_QUERY, &query)) in query_topology()
1321 if (gen_ioctl(fd, DRM_IOCTL_I915_QUERY, &query) || in query_topology()
1338 int ret = gen_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gen_get_aperture_size()
1354 if (gen_ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &gem_create)) { in gen_has_get_tiling()
1362 ret = gen_ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &get_tiling); in gen_has_get_tiling()
1367 gen_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close); in gen_has_get_tiling()
/external/mesa3d/src/intel/perf/
Dgen_perf.c253 return gen_ioctl(fd, DRM_IOCTL_I915_PERF_REMOVE_CONFIG, in kernel_has_dynamic_config_support()
265 return gen_ioctl(fd, DRM_IOCTL_I915_QUERY, &q); in i915_query_items()
339 int ret = gen_ioctl(fd, DRM_IOCTL_I915_PERF_ADD_CONFIG, &i915_config); in i915_add_config()
590 int ret = gen_ioctl(drm_fd, DRM_IOCTL_I915_GETPARAM, &gp); in i915_perf_version()
607 gen_ioctl(drm_fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &arg); in i915_get_sseu()
Dgen_perf_query.c311 gen_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_ENABLE, 0) < 0) in inc_n_users()
330 gen_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_DISABLE, 0) < 0) in dec_n_users()
385 int fd = gen_ioctl(drm_fd, DRM_IOCTL_I915_PERF_OPEN, &param); in gen_perf_open()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c925 gen_ioctl(export->drm_fd, DRM_IOCTL_GEM_CLOSE, &close); in bo_unreference_final()
/external/mesa3d/docs/relnotes/
D20.3.0.rst3278 - anv: fix minor gen_ioctl(I915_PERF_IOCTL_CONFIG) error handling issue
D20.2.0.rst3170 - anv: fix minor gen_ioctl(I915_PERF_IOCTL_CONFIG) error handling issue