Home
last modified time | relevance | path

Searched refs:drmDevicePtr (Results 1 – 25 of 40) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
DtcuLibDrm.hpp55 drmDevicePtr* getDevices (int *pNumDevices) const;
56 const char* findDeviceNode (drmDevicePtr *devices, int count, deInt64 major, deInt64 minor) const;
57 void freeDevices (drmDevicePtr *devices, int count) const;
67 int intGetDevices(drmDevicePtr devices[], int maxDevices) const;
71 typedef int (*PFNDRMGETDEVICES2PROC) (deUint32, drmDevicePtr[], int);
72 typedef int (*PFNDRMGETDEVICESPROC) (drmDevicePtr[], int);
73 typedef void (*PFNDRMFREEDEVICESPROC) (drmDevicePtr[], int);
DtcuLibDrm.cpp88 drmDevicePtr* LibDrm::getDevices (int *pNumDevices) const in getDevices()
99 drmDevicePtr *devs = new drmDevicePtr[*pNumDevices]; in getDevices()
111 const char* LibDrm::findDeviceNode (drmDevicePtr *devices, int count, deInt64 major, deInt64 minor)… in findDeviceNode()
138 void LibDrm::freeDevices (drmDevicePtr *devices, int count) const in freeDevices()
190 int LibDrm::intGetDevices (drmDevicePtr devices[], int maxDevices) const in intGetDevices()
/third_party/mesa3d/src/tool/pps/
Dpps_device.cc24 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in device_count()
69 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create_all()
76 drmDevicePtr device = devices[gpu_num]; in create_all()
99 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create()
103 drmDevicePtr device = devices[gpu_num]; in create()
/third_party/libdrm/tests/
Ddrmdevice.c36 print_device_info(drmDevicePtr device, int i, bool print_revision) in print_device_info()
110 drmDevicePtr *devices; in main()
111 drmDevicePtr device; in main()
125 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()
/third_party/libdrm/
Dxf86drm.h908 } drmDevice, *drmDevicePtr; typedef
910 extern int drmGetDevice(int fd, drmDevicePtr *device);
911 extern void drmFreeDevice(drmDevicePtr *device);
913 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
914 extern void drmFreeDevices(drmDevicePtr devices[], int count);
917 extern int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device);
918 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
920 extern int drmGetDeviceFromDevId(dev_t dev_id, uint32_t flags, drmDevicePtr *device);
922 extern int drmDevicesEqual(drmDevicePtr a, drmDevicePtr b);
Dxf86drm.c3720 drm_public int drmDevicesEqual(drmDevicePtr a, drmDevicePtr b) in drmDevicesEqual()
3933 static void drmFreePlatformDevice(drmDevicePtr device) in drmFreePlatformDevice()
3949 static void drmFreeHost1xDevice(drmDevicePtr device) in drmFreeHost1xDevice()
3965 drm_public void drmFreeDevice(drmDevicePtr *device) in drmFreeDevice()
3986 drm_public void drmFreeDevices(drmDevicePtr devices[], int count) in drmFreeDevices()
3998 static drmDevicePtr drmDeviceAlloc(unsigned int type, const char *node, in drmDeviceAlloc()
4003 drmDevicePtr device; in drmDeviceAlloc()
4035 static int drmProcessPciDevice(drmDevicePtr *device, in drmProcessPciDevice()
4040 drmDevicePtr dev; in drmProcessPciDevice()
4193 static int drmProcessUsbDevice(drmDevicePtr *device, const char *node, in drmProcessUsbDevice()
[all …]
/third_party/mesa3d/src/loader/
Dloader.c172 drmDevicePtr devices[MAX_DRM_DEVICES], device; in loader_open_render_node()
218 drmDevicePtr dev_ptr; in loader_get_render_node()
285 static char *drm_construct_id_path_tag(drmDevicePtr device) in drm_construct_id_path_tag()
328 static bool drm_device_matches_tag(drmDevicePtr device, const char *prime_tag) in drm_device_matches_tag()
344 drmDevicePtr device; in drm_get_id_path_tag_for_fd()
359 drmDevicePtr devices[MAX_DRM_DEVICES]; in loader_get_user_preferred_fd()
453 drmDevicePtr device; in drm_get_pci_id_for_fd()
/third_party/mesa3d/src/egl/main/
Degldevice.c51 drmDevicePtr device;
112 _eglAddDRMDevice(drmDevicePtr device, _EGLDevice **out_dev) in _eglAddDRMDevice()
181 drmDevicePtr device; in _eglAddDevice()
298 drmDevicePtr devices[64]; in _eglRefreshDeviceList()
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c317 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_open_devices()
404 drmDevicePtr device; in amdgpu_print_devices()
459 drmDevicePtr device; in amdgpu_find_device()
483 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_disable_suites()
Dras_tests.c468 static struct ras_test_mask amdgpu_ras_get_test_mask(drmDevicePtr device) in amdgpu_ras_get_test_mask()
502 static int amdgpu_ras_lookup_id(drmDevicePtr device) in amdgpu_ras_lookup_id()
910 drmDevicePtr device; in suite_ras_tests_enable()
937 drmDevicePtr device; in suite_ras_tests_init()
Dhotunplug_tests.c52 drmDevicePtr device; in suite_hotunplug_tests_enable()
Damdgpu_stress.c81 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; in amdgpu_open_device()
/third_party/mesa3d/src/intel/dev/
Dintel_device_info_override_test.c41 drmDevicePtr devices[8]; in main()
Dintel_dev_info.c96 drmDevicePtr devices[8]; in main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceDrmPropertiesTests.cpp62 drmDevicePtr* drmDevices = libDrm.getDevices(&numDrmDevices); in testFilesExist()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDeviceDrmPropertiesTests.cpp62 drmDevicePtr* drmDevices = libDrm.getDevices(&numDrmDevices); in testFilesExist()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_x11.c70 drmDevicePtr xdev = NULL; in device_select_find_xcb_pci_default()
Ddevice_select_wayland.c34 drmDevicePtr dev_info;
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c246 drmDevicePtr device_a, device_b; in wsi_common_drm_devices_equal()
273 drmDevicePtr fd_device; in wsi_device_matches_drm_fd()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c306 drmDevicePtr drm_render_device, in pvr_physical_device_init()
307 drmDevicePtr drm_primary_device) in pvr_physical_device_init()
470 static bool pvr_drm_device_is_supported(drmDevicePtr drm_dev, int node_type) in pvr_drm_device_is_supported()
520 drmDevicePtr drm_primary_device = NULL; in pvr_enumerate_devices()
521 drmDevicePtr drm_render_device = NULL; in pvr_enumerate_devices()
522 drmDevicePtr drm_devices[8]; in pvr_enumerate_devices()
/third_party/mesa3d/docs/relnotes/
D21.3.2.rst76 - vulkan-device-select: Don't leak drmDevicePtr
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c240 drmDevicePtr device, devices[MAX_DRM_DEVICES] = { NULL }; in surfaceless_probe_device()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c199 } drmDevice, *drmDevicePtr; typedef
249 static void drmFreeDevice(drmDevicePtr *device) in drmFreeDevice()
252 static int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device) in drmGetDevice2()
590 drmDevicePtr devinfo; in ac_query_gpu_info()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_screen.c468 drmDevicePtr devinfo; in lima_screen_set_plb_max_blk()
/third_party/vk-gl-cts/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp281 drmDevicePtr* drmDevices = libDrm.getDevices(&numDrmDevices); in initializeDisplay()

12