Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c483 struct drm_prime_handle prime_handle; in test_import_vgem() local
493 CHECK(create_vgem_bo(vgem_fd, size, &prime_handle.handle) == 0); in test_import_vgem()
494 prime_handle.flags = DRM_CLOEXEC; in test_import_vgem()
495 CHECK(drmIoctl(vgem_fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &prime_handle) == 0); in test_import_vgem()
497 fd_data.fd = prime_handle.fd; in test_import_vgem()
506 close(prime_handle.fd); in test_import_vgem()