Home
last modified time | relevance | path

Searched refs:ion_buffer_fd (Results 1 – 3 of 3) sorted by relevance

/external/igt-gpu-tools/tests/
Dion_fb.c22 int ion_buffer_fd) in make_fb_with_buffer() argument
28 drm_fd, &fb_id, ion_buffer_fd, config)); in make_fb_with_buffer()
35 int ion_buffer_fd; in make_fb_with_fds() local
44 &ion_buffer_fd)); in make_fb_with_fds()
46 make_fb_with_buffer(drm_fd, ion_fd, config, ion_buffer_fd); in make_fb_with_fds()
48 close(ion_buffer_fd); in make_fb_with_fds()
75 int ion_buffer_fd; in clone_with_fds() local
84 &ion_buffer_fd)); in clone_with_fds()
88 igt_assert(!ion_clone_fd_via_gem(drm_fd, &clone_fd, ion_buffer_fd)); in clone_with_fds()
91 igt_assert(clone_fd != ion_buffer_fd); in clone_with_fds()
[all …]
/external/igt-gpu-tools/lib/
Dion.c43 int ion_alloc_one_fd(int ion_fd, size_t size, int heap_id, int *ion_buffer_fd) in ion_alloc_one_fd() argument
54 return ion_alloc_fd(ion_fd, size, align, heap_mask, flags, ion_buffer_fd); in ion_alloc_one_fd()
57 int ion_mmap(void **ptr, int ion_buffer_fd, size_t size) in ion_mmap() argument
63 void *ret = mmap(k_addr, size, k_prot, k_flags, ion_buffer_fd, 0); in ion_mmap()
105 int gem_handle_for_ion_buffer(int drm_fd, uint32_t *gem_handle, int ion_buffer_fd) in gem_handle_for_ion_buffer() argument
110 .fd = ion_buffer_fd in gem_handle_for_ion_buffer()
145 int drm_fb_for_ion_buffer(int drm_fd, uint32_t *fb_id, int ion_buffer_fd, in drm_fb_for_ion_buffer() argument
150 if (gem_handle_for_ion_buffer(drm_fd, &gem_handle, ion_buffer_fd)) in drm_fb_for_ion_buffer()
166 int ion_clone_fd_via_gem(int drm_fd, int *cloned_fd, int ion_buffer_fd) in ion_clone_fd_via_gem() argument
169 if (gem_handle_for_ion_buffer(drm_fd, &gem_handle, ion_buffer_fd)) in ion_clone_fd_via_gem()
Dion.h24 int ion_alloc_one_fd(int ion_fd, size_t size, int heap_id, int *ion_buffer_fd);
33 int ion_mmap(void **ptr, int ion_buffer_fd, size_t size);
60 int gem_handle_for_ion_buffer(int drm_fd, uint32_t *gem_handle, int ion_buffer_fd);
84 int drm_fb_for_ion_buffer(int drm_fd, uint32_t *fb_id, int ion_buffer_fd,
106 int ion_clone_fd_via_gem(int drm_fd, int *cloned_fd, int ion_buffer_fd);