/external/libdrm/ |
D | xf86drm.c | 167 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl() function 852 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion() 864 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion() 924 ret = drmIoctl(fd, DRM_IOCTL_GET_CAP, &cap); in drmGetCap() 940 return drmIoctl(fd, DRM_IOCTL_SET_CLIENT_CAP, &cap); in drmSetClientCap() 975 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid() 978 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid() 1006 if (drmIoctl(fd, DRM_IOCTL_SET_UNIQUE, &u)) { in drmSetBusid() 1019 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) in drmGetMagic() 1031 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) in drmAuthMagic() [all …]
|
D | xf86drmMode.c | 70 int ret = drmIoctl(fd, cmd, arg); in DRM_IOCTL() 164 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources() 190 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources() 310 if (drmIoctl(fd, DRM_IOCTL_MODE_GETFB, &info)) in drmModeGetFB() 352 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) in drmModeGetCrtc() 455 if (drmIoctl(fd, DRM_IOCTL_MODE_GETENCODER, &enc)) in drmModeGetEncoder() 486 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in _drmModeGetConnector() 516 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in _drmModeGetConnector() 616 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) in drmModeGetProperty() 630 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) { in drmModeGetProperty() [all …]
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 117 if (drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_GEM_CREATE, &req)){ in exynos_bo_create() 156 ret = drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_GEM_GET, &req); in exynos_bo_get_info() 187 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in exynos_bo_destroy() 221 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in exynos_bo_from_name() 257 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in exynos_bo_get_name() 296 ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in exynos_bo_map() 371 ret = drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_VIDI_CONNECTION, &req); in exynos_vidi_connection()
|
/external/libdrm/rockchip/ |
D | rockchip_drm.c | 114 if (drmIoctl(dev->fd, DRM_IOCTL_ROCKCHIP_GEM_CREATE, &req)){ in rockchip_bo_create() 175 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in rockchip_bo_destroy() 209 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in rockchip_bo_from_name() 245 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in rockchip_bo_get_name() 282 ret = drmIoctl(dev->fd, DRM_IOCTL_ROCKCHIP_GEM_MAP_OFFSET, &req); in rockchip_bo_map()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 663 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in drm_intel_gem_bo_busy() 683 drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in drm_intel_gem_bo_madvise_internal() 814 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_alloc_internal() 964 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_alloc_userptr() 1031 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in has_userptr() 1110 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_bo_gem_create_from_name() 1156 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_bo_gem_create_from_name() 1199 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_GEM_CLOSE, &close); in drm_intel_gem_bo_free() 1440 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_map() 1467 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_map() [all …]
|
/external/libdrm/omap/ |
D | omap_drm.c | 184 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_from_handle() 298 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in omap_bo_from_name() 333 ret = drmIoctl(dev->fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &req); in omap_bo_from_dmabuf() 377 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in omap_bo_del() 395 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in omap_bo_get_name() 425 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &req); in omap_bo_dmabuf()
|
/external/libdrm/tests/kms/ |
D | libkms-test-framebuffer.c | 74 err = drmIoctl(device->fd, DRM_IOCTL_MODE_CREATE_DUMB, &args); in kms_framebuffer_create() 114 err = drmIoctl(device->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &args); in kms_framebuffer_free() 137 err = drmIoctl(device->fd, DRM_IOCTL_MODE_MAP_DUMB, &args); in kms_framebuffer_map()
|
/external/libdrm/libkms/ |
D | dumb.c | 102 ret = drmIoctl(kms->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create() 146 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map() 185 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy()
|
D | exynos.c | 141 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in exynos_bo_map() 180 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy()
|
D | nouveau.c | 193 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in nouveau_bo_destroy()
|
D | radeon.c | 214 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in radeon_bo_destroy()
|
D | intel.c | 211 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in intel_bo_destroy()
|
/external/libdrm/tegra/ |
D | tegra.c | 53 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free() 181 ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_OPEN, &open_args); in drm_tegra_bo_name_ref() 196 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &close_args); in drm_tegra_bo_name_ref() 212 ret = drmIoctl(bo->drm->fd, DRM_IOCTL_GEM_FLINK, &args); in drm_tegra_bo_name_get()
|
/external/libdrm/tests/modetest/ |
D | buffers.c | 79 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in bo_create_dumb() 104 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in bo_map() 340 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in bo_destroy()
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 73 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_from_handle() 269 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in fd_bo_from_name() 347 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_del() 361 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in fd_bo_get_name()
|
/external/libdrm/tests/radeon/ |
D | rbo.c | 58 r = drmIoctl(fd, DRM_IOCTL_GEM_OPEN, &open_arg); in rbo() 152 drmIoctl(bo->fd, DRM_IOCTL_GEM_CLOSE, &args); in rbo_decref()
|
/external/libdrm/tests/planetest/ |
D | bo.c | 124 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_MAP_DUMB, &md); in map_sp_bo() 172 ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATE_DUMB, &cd); in create_sp_bo() 228 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &dd); in free_sp_bo()
|
/external/autotest/client/cros/graphics/ |
D | drm.py | 225 rv = self._l.drmIoctl(self._fd, DRM_IOCTL_MODE_MAP_DUMB, 282 l.drmIoctl.argtypes = [c_int, c_ulong, c_voidp] 283 l.drmIoctl.restype = c_int
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 92 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open() 145 drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_CLOSE, &args); in bo_unref() 337 r = drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_FLINK, &flink); in radeon_gem_get_kernel_name()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 327 drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in gbm_dri_bo_destroy() 476 ret = drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in create_dumb() 491 ret = drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in create_dumb() 505 drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_arg); in create_dumb()
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 53 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &args); in amdgpu_close_kms_handle() 233 r = drmIoctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in amdgpu_bo_export_flink() 242 drmIoctl(bo->dev->flink_fd, DRM_IOCTL_GEM_CLOSE, &args); in amdgpu_bo_export_flink() 367 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 212 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &create); in create_vgem_bo() 456 CHECK(drmIoctl(vgem_fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &prime_handle) == 0); in test_import()
|
/external/drm_hwcomposer/ |
D | platformdrmgeneric.cpp | 137 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBuffer()
|
D | drmresources.cpp | 307 int ret = drmIoctl(fd(), DRM_IOCTL_MODE_CREATEPROPBLOB, &create_blob); in CreatePropertyBlob() 323 int ret = drmIoctl(fd(), DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy_blob); in DestroyPropertyBlob()
|
/external/libdrm/nouveau/ |
D | nouveau.c | 614 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &req); in nouveau_bo_del() 618 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &req); in nouveau_bo_del() 748 ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_OPEN, &req); in nouveau_bo_name_ref() 766 int ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_FLINK, &req); in nouveau_bo_name_get()
|