Home
last modified time | relevance | path

Searched refs:drmCommandWriteRead (Results 1 – 25 of 29) sorted by relevance

12

/third_party/libdrm/freedreno/msm/
Dmsm_bo.c44 ret = drmCommandWriteRead(bo->dev->fd, DRM_MSM_GEM_INFO, in bo_allocate()
100 ret = drmCommandWriteRead(bo->dev->fd, DRM_MSM_GEM_MADVISE, &req, sizeof(req)); in msm_bo_madvise()
114 drmCommandWriteRead(bo->dev->fd, DRM_MSM_GEM_INFO, &req, sizeof(req)); in msm_bo_iova()
145 ret = drmCommandWriteRead(dev->fd, DRM_MSM_GEM_NEW, in msm_bo_new_handle()
Dmsm_pipe.c41 ret = drmCommandWriteRead(pipe->dev->fd, DRM_MSM_GET_PARAM, in query_param()
117 ret = drmCommandWriteRead(pipe->dev->fd, DRM_MSM_SUBMITQUEUE_NEW, in open_submitqueue()
Dmsm_ringbuffer.c516 ret = drmCommandWriteRead(ring->pipe->dev->fd, DRM_MSM_GEM_SUBMIT, in msm_ringbuffer_flush()
/third_party/libdrm/tegra/
Dtegra.c127 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_CREATE, &args, in drm_tegra_bo_new()
200 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_MMAP, &args, in drm_tegra_bo_map()
249 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_GET_FLAGS, &args, in drm_tegra_bo_get_flags()
273 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_SET_FLAGS, &args, in drm_tegra_bo_set_flags()
294 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_GET_TILING, &args, in drm_tegra_bo_get_tiling()
322 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_SET_TILING, &args, in drm_tegra_bo_set_tiling()
/third_party/libdrm/amdgpu/
Damdgpu_bo.c94 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_GEM_CREATE, in amdgpu_bo_alloc()
129 return drmCommandWriteRead(bo->dev->fd, in amdgpu_bo_set_metadata()
150 r = drmCommandWriteRead(bo->dev->fd, DRM_AMDGPU_GEM_METADATA, in amdgpu_bo_query_info()
164 r = drmCommandWriteRead(bo->dev->fd, DRM_AMDGPU_GEM_OP, in amdgpu_bo_query_info()
458 r = drmCommandWriteRead(bo->dev->fd, DRM_AMDGPU_GEM_MMAP, &args, in amdgpu_bo_cpu_map()
526 r = drmCommandWriteRead(bo->dev->fd, DRM_AMDGPU_GEM_WAIT_IDLE, in amdgpu_bo_wait_for_idle()
592 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_GEM_USERPTR, in amdgpu_create_bo_from_user_mem()
622 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_BO_LIST, in amdgpu_bo_list_create_raw()
638 return drmCommandWriteRead(dev->fd, DRM_AMDGPU_BO_LIST, in amdgpu_bo_list_destroy_raw()
684 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_BO_LIST, in amdgpu_bo_list_create()
[all …]
Damdgpu_vm.c36 return drmCommandWriteRead(dev->fd, DRM_AMDGPU_VM, in amdgpu_vm_reserve_vmid()
48 return drmCommandWriteRead(dev->fd, DRM_AMDGPU_VM, in amdgpu_vm_unreserve_vmid()
Damdgpu_cs.c78 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_CTX, &args, sizeof(args)); in amdgpu_cs_ctx_create2()
126 r = drmCommandWriteRead(context->dev->fd, DRM_AMDGPU_CTX, in amdgpu_cs_ctx_free()
182 r = drmCommandWriteRead(context->dev->fd, DRM_AMDGPU_CTX, in amdgpu_cs_query_reset_state()
203 r = drmCommandWriteRead(context->dev->fd, DRM_AMDGPU_CTX, in amdgpu_cs_query_reset_state2()
876 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_CS, in amdgpu_cs_submit_raw()
905 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_CS, in amdgpu_cs_submit_raw2()
945 r = drmCommandWriteRead(dev->fd, DRM_AMDGPU_FENCE_TO_HANDLE, in amdgpu_cs_fence_to_handle()
/third_party/libdrm/radeon/
Dradeon_bo_gem.c105 r = drmCommandWriteRead(bom->fd, DRM_RADEON_GEM_CREATE, in bo_open()
169 r = drmCommandWriteRead(boi->bom->fd, in bo_map()
225 ret = drmCommandWriteRead(boi->bom->fd, DRM_RADEON_GEM_BUSY, in bo_is_busy()
242 r = drmCommandWriteRead(boi->bom->fd, in bo_set_tiling()
257 r = drmCommandWriteRead(boi->bom->fd, in bo_get_tiling()
354 r = drmCommandWriteRead(boi->bom->fd, in radeon_gem_set_domain()
Dradeon_cs_gem.c445 r = drmCommandWriteRead(cs->csm->fd, DRM_RADEON_CS, in cs_gem_emit()
534 r = drmCommandWriteRead(fd, DRM_RADEON_INFO, &info, in radeon_get_device_id()
/third_party/libdrm/freedreno/kgsl/
Dkgsl_bo.c57 ret = drmCommandWriteRead(bo->dev->fd, DRM_KGSL_GEM_ALLOC, in bo_alloc()
144 ret = drmCommandWriteRead(dev->fd, DRM_KGSL_GEM_CREATE, in kgsl_bo_new_handle()
237 ret = drmCommandWriteRead(bo->dev->fd, DRM_KGSL_GEM_GET_BUFINFO, in kgsl_bo_gpuaddr()
301 ret = drmCommandWriteRead(bo->dev->fd, DRM_KGSL_GEM_GET_BUFINFO, in kgsl_bo_get_timestamp()
/third_party/libdrm/tests/radeon/
Drbo.c72 r = drmCommandWriteRead(fd, DRM_RADEON_GEM_CREATE, in rbo()
108 r = drmCommandWriteRead(bo->fd, DRM_RADEON_GEM_MMAP, in rbo_map()
167 ret = drmCommandWriteRead(bo->fd, DRM_RADEON_GEM_WAIT_IDLE, in rbo_wait()
/third_party/libdrm/nouveau/
Dabi16.c45 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nv04()
66 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nvc0()
92 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_CHANNEL_ALLOC, in abi16_chan_nve0()
158 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NOTIFIEROBJ_ALLOC, in abi16_ntfy()
354 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_GEM_NEW, in abi16_bo_init()
Dnouveau.c88 return drmCommandWriteRead(drm->fd, DRM_NOUVEAU_NVIF, args, argc); in nouveau_object_ioctl()
522 drmCommandWriteRead(fd, DRM_NOUVEAU_GETPARAM, &r, sizeof(r)); in nouveau_getparam()
681 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_GEM_INFO, in nouveau_bo_wrap_locked()
Dpushbuf.c345 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_GEM_PUSHBUF, in pushbuf_submit()
551 ret = drmCommandWriteRead(drm->fd, DRM_NOUVEAU_GEM_PUSHBUF, in nouveau_pushbuf_new()
/third_party/libdrm/libkms/
Dintel.c108 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_CREATE, &arg, sizeof(arg)); in intel_bo_create()
126 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create()
168 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_I915_GEM_MMAP_GTT, &arg, sizeof(arg)); in intel_bo_map()
Dradeon.c117 ret = drmCommandWriteRead(kms->fd, DRM_RADEON_GEM_CREATE, in radeon_bo_create()
166 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_RADEON_GEM_MMAP, in radeon_bo_map()
Dvmwgfx.c101 ret = drmCommandWriteRead(bo->base.kms->fd, in vmwgfx_bo_create()
Dexynos.c108 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg)); in exynos_bo_create()
Dnouveau.c114 ret = drmCommandWriteRead(kms->fd, DRM_NOUVEAU_GEM_NEW, &arg, sizeof(arg)); in nouveau_bo_create()
/third_party/libdrm/etnaviv/
Detnaviv_perfmon.c42 ret = drmCommandWriteRead(dev->fd, DRM_ETNAVIV_PM_QUERY_SIG, &req, sizeof(req)); in etna_perfmon_query_signals()
74 ret = drmCommandWriteRead(dev->fd, DRM_ETNAVIV_PM_QUERY_DOM, &req, sizeof(req)); in etna_perfmon_query_domains()
Detnaviv_bo.c121 ret = drmCommandWriteRead(dev->fd, DRM_ETNAVIV_GEM_NEW, in etna_bo_new()
149 ret = drmCommandWriteRead(bo->dev->fd, DRM_ETNAVIV_GEM_INFO, in get_buffer_info()
Detnaviv_gpu.c38 ret = drmCommandWriteRead(dev->fd, DRM_ETNAVIV_GET_PARAM, &req, sizeof(req)); in get_param()
Detnaviv_cmd_stream.c205 ret = drmCommandWriteRead(gpu->dev->fd, DRM_ETNAVIV_GEM_SUBMIT, in flush()
/third_party/libdrm/omap/
Domap_drm.c139 ret = drmCommandWriteRead(dev->fd, DRM_OMAP_GET_PARAM, &req, sizeof(req)); in omap_get_param()
206 if (drmCommandWriteRead(dev->fd, DRM_OMAP_GEM_NEW, &req, sizeof(req))) { in omap_bo_new_impl()
270 int ret = drmCommandWriteRead(bo->dev->fd, DRM_OMAP_GEM_INFO, in get_buffer_info()
/third_party/libdrm/
Dcore-symbols.txt29 drmCommandWriteRead

12