Searched refs:dma_buf_fd2 (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/tests/ |
D | prime_self_import.c | 88 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()
|
D | prime_mmap.c | 446 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()
|