Home
last modified time | relevance | path

Searched refs:drmGetDevice2 (Results 1 - 14 of 14) sorted by relevance

/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_drm.c249 ret = drmGetDevice2(fd_a, 0, &device_a); in wsi_common_drm_devices_equal()
253 ret = drmGetDevice2(fd_b, 0, &device_b); in wsi_common_drm_devices_equal()
274 int ret = drmGetDevice2(drm_fd, 0, &fd_device); in wsi_device_matches_drm_fd()
/third_party/mesa3d/src/vulkan/device-select-layer/
H A Ddevice_select_wayland.c47 int ret = drmGetDevice2(fd, 0, &info->dev_info); in device_select_drm_handle_device()
H A Ddevice_select_x11.c97 int ret = drmGetDevice2(dri3_fd, 0, &xdev); in device_select_find_xcb_pci_default()
/third_party/libdrm/tests/
H A Ddrmdevice.c152 if (drmGetDevice2(fd, DRM_DEVICE_GET_PCI_REVISION, &device) == 0) { in main()
/third_party/mesa3d/src/loader/
H A Dloader.c347 if (drmGetDevice2(fd, 0, &device) != 0) in drm_get_id_path_tag_for_fd()
455 if (drmGetDevice2(fd, 0, &device) != 0) { in drm_get_pci_id_for_fd()
/third_party/libdrm/tests/amdgpu/
H A Damdgpu_test.c424 if (drmGetDevice2(drm_amdgpu[i], in amdgpu_print_devices()
462 if (drmGetDevice2(drm_amdgpu[i], in amdgpu_find_device()
H A Dras_tests.c917 if (drmGetDevice2(drm_amdgpu[i], in suite_ras_tests_enable()
953 if (drmGetDevice2(drm_amdgpu[i], in suite_ras_tests_init()
H A Dhotunplug_tests.c54 if (drmGetDevice2(drm_amdgpu[0], DRM_DEVICE_GET_PCI_REVISION, &device)) { in suite_hotunplug_tests_enable()
/third_party/mesa3d/src/egl/main/
H A Degldevice.c183 if (drmGetDevice2(fd, 0, &device) != 0) { in _eglAddDevice()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_screen.c470 if (drmGetDevice2(screen->fd, 0, &devinfo)) in lima_screen_set_plb_max_blk()
/third_party/libdrm/
H A Dxf86drm.h917 extern int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device);
H A Dxf86drm.c4643 drm_public int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device) in drmGetDevice2() function
4670 return drmGetDevice2(fd, DRM_DEVICE_GET_PCI_REVISION, device); in drmGetDevice()
/third_party/mesa3d/src/amd/common/
H A Dac_gpu_info.c252 static int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device) in drmGetDevice2() function
603 r = drmGetDevice2(fd, 0, &devinfo); in ac_query_gpu_info()
605 fprintf(stderr, "amdgpu: drmGetDevice2 failed.\n"); in ac_query_gpu_info()
/third_party/mesa3d/src/intel/dev/
H A Dintel_device_info.c1950 if (drmGetDevice2(fd, DRM_DEVICE_GET_PCI_REVISION, &drmdev)) { in intel_get_device_info_from_fd()

Completed in 21 milliseconds