Home
last modified time | relevance | path

Searched refs:dma_buf_fd2 (Results 1 – 2 of 2) sorted by relevance

/external/igt-gpu-tools/tests/
Dprime_self_import.c88 int dma_buf_fd1, dma_buf_fd2; in test_with_fd_dup() local
100 dma_buf_fd2 = dup(dma_buf_fd1); in test_with_fd_dup()
102 handle_import = prime_fd_to_handle(fd2, dma_buf_fd2); in test_with_fd_dup()
105 close(dma_buf_fd2); in test_with_fd_dup()
149 int dma_buf_fd1, dma_buf_fd2; in test_with_one_bo_two_files() local
160 dma_buf_fd2 = prime_handle_to_fd(fd2, handle_open); in test_with_one_bo_two_files()
161 handle_import = prime_fd_to_handle(fd2, dma_buf_fd2); in test_with_one_bo_two_files()
169 close(dma_buf_fd2); in test_with_one_bo_two_files()
Dprime_mmap.c446 int dma_buf_fd1, dma_buf_fd2; in test_aperture_limit() local
464 dma_buf_fd2 = prime_handle_to_fd(fd, handle2); in test_aperture_limit()
466 ptr2 = mmap(NULL, size2, PROT_READ, MAP_SHARED, dma_buf_fd2, 0); in test_aperture_limit()
475 close(dma_buf_fd2); in test_aperture_limit()