/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 462 int prime_fd; in test_export() local 467 prime_fd = gbm_bo_get_fd(bo); in test_export() 468 CHECK(prime_fd > 0); in test_export() 469 close(prime_fd); in test_export() 522 int prime_fd; in test_import_dmabuf() local 527 prime_fd = gbm_bo_get_fd(bo1); in test_import_dmabuf() 528 CHECK(prime_fd >= 0); in test_import_dmabuf() 530 fd_data.fd = prime_fd; in test_import_dmabuf() 545 close(prime_fd); in test_import_dmabuf()
|
/external/mesa3d/src/gallium/auxiliary/renderonly/ |
D | renderonly.c | 80 int prime_fd, err; in renderonly_create_kms_dumb_buffer_for_resource() local 105 &prime_fd); in renderonly_create_kms_dumb_buffer_for_resource() 113 handle.handle = prime_fd; in renderonly_create_kms_dumb_buffer_for_resource()
|
/external/drm_hwcomposer/ |
D | platformdrmgeneric.cpp | 92 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer() 94 ALOGE("failed to import prime fd %d ret=%d", gr_handle->prime_fd, ret); in ImportBuffer()
|
/external/libdrm/etnaviv/ |
D | etnaviv_bo.c | 289 int ret, prime_fd; in etna_bo_dmabuf() local 292 &prime_fd); in etna_bo_dmabuf() 300 return prime_fd; in etna_bo_dmabuf()
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 267 int ret, prime_fd; in fd_bo_dmabuf() local 270 &prime_fd); in fd_bo_dmabuf() 278 return prime_fd; in fd_bo_dmabuf()
|
/external/libdrm/nouveau/ |
D | nouveau.h | 150 int nouveau_bo_prime_handle_ref(struct nouveau_device *, int prime_fd, 152 int nouveau_bo_set_prime(struct nouveau_bo *, int *prime_fd);
|
D | nouveau.c | 794 nouveau_bo_prime_handle_ref(struct nouveau_device *dev, int prime_fd, in nouveau_bo_prime_handle_ref() argument 805 ret = drmPrimeFDToHandle(drm->fd, prime_fd, &handle); in nouveau_bo_prime_handle_ref() 814 nouveau_bo_set_prime(struct nouveau_bo *bo, int *prime_fd) in nouveau_bo_set_prime() argument 820 ret = drmPrimeHandleToFD(drm->fd, nvbo->base.handle, DRM_CLOEXEC, prime_fd); in nouveau_bo_set_prime()
|
/external/autotest/client/cros/graphics/ |
D | drm.py | 381 prime_fd = c_int(0) 383 DRM_CLOEXEC, byref(prime_fd)) 386 return prime_fd
|
/external/libdrm/intel/ |
D | intel_bufmgr.h | 232 int drm_intel_bo_gem_export_to_prime(drm_intel_bo *bo, int *prime_fd); 234 int prime_fd, int size);
|
D | intel_bufmgr_gem.c | 2653 drm_intel_bo_gem_create_from_prime(drm_intel_bufmgr *bufmgr, int prime_fd, int size) in drm_intel_bo_gem_create_from_prime() argument 2662 ret = drmPrimeFDToHandle(bufmgr_gem->fd, prime_fd, &handle); in drm_intel_bo_gem_create_from_prime() 2693 ret = lseek(prime_fd, 0, SEEK_END); in drm_intel_bo_gem_create_from_prime() 2737 drm_intel_bo_gem_export_to_prime(drm_intel_bo *bo, int *prime_fd) in drm_intel_bo_gem_export_to_prime() argument 2743 DRM_CLOEXEC, prime_fd) != 0) in drm_intel_bo_gem_export_to_prime()
|
/external/libdrm/ |
D | xf86drm.h | 763 extern int drmPrimeHandleToFD(int fd, uint32_t handle, uint32_t flags, int *prime_fd); 764 extern int drmPrimeFDToHandle(int fd, int prime_fd, uint32_t *handle);
|
D | xf86drm.c | 2748 int drmPrimeHandleToFD(int fd, uint32_t handle, uint32_t flags, int *prime_fd) in drmPrimeHandleToFD() argument 2761 *prime_fd = args.fd; in drmPrimeHandleToFD() 2765 int drmPrimeFDToHandle(int fd, int prime_fd, uint32_t *handle) in drmPrimeFDToHandle() argument 2771 args.fd = prime_fd; in drmPrimeFDToHandle()
|