Searched refs:ion_fd (Results 1 – 3 of 3) sorted by relevance
/external/igt-gpu-tools/tests/ |
D | ion_fb.c | 20 static void make_fb_with_buffer(int drm_fd, int ion_fd, in make_fb_with_buffer() argument 32 static void make_fb_with_fds(int drm_fd, int ion_fd, in make_fb_with_fds() argument 37 const int heap_id = ion_get_heap_id(ion_fd, ION_HEAP_TYPE_SYSTEM); in make_fb_with_fds() 41 ion_fd, in make_fb_with_fds() 46 make_fb_with_buffer(drm_fd, ion_fd, config, ion_buffer_fd); in make_fb_with_fds() 56 const int ion_fd = ion_open(); in test_make_fb() local 57 igt_assert(ion_fd >= 0); in test_make_fb() 59 make_fb_with_fds(drm_fd, ion_fd, config); in test_make_fb() 61 ion_close(ion_fd); in test_make_fb() 72 static void clone_with_fds(int drm_fd, int ion_fd, in clone_with_fds() argument [all …]
|
/external/igt-gpu-tools/lib/ |
D | ion.c | 6 int ion_get_heap_id(int ion_fd, uint32_t heap_type) in ion_get_heap_id() argument 11 if (ion_query_heap_cnt(ion_fd, &heap_count)) in ion_get_heap_id() 19 if (ion_query_get_heaps(ion_fd, heap_count, heap_data)) in ion_get_heap_id() 43 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() 125 int ion_fd_for_gem_handle(int drm_fd, int *ion_fd, uint32_t gem_handle) in ion_fd_for_gem_handle() argument 140 *ion_fd = drm_prime_handle_to_fd_arg.fd; in ion_fd_for_gem_handle()
|
D | ion.h | 14 int ion_get_heap_id(int ion_fd, uint32_t heap_type); 24 int ion_alloc_one_fd(int ion_fd, size_t size, int heap_id, int *ion_buffer_fd);
|