Searched refs:DRM_NODE_PRIMARY (Results 1 – 14 of 14) sorted by relevance
/third_party/mesa3d/src/egl/main/ |
D | egldevice.c | 116 if ((device->available_nodes & (1 << DRM_NODE_PRIMARY | in _eglAddDRMDevice() 254 return dev->device->nodes[DRM_NODE_PRIMARY]; in _eglQueryDeviceStringEXT()
|
/third_party/libdrm/ |
D | xf86drm.c | 756 case DRM_NODE_PRIMARY: in drmGetDeviceName() 932 if ((fd = drmOpenMinor(0, 1, DRM_NODE_PRIMARY)) < 0) { in drmAvailable() 953 case DRM_NODE_PRIMARY: in drmGetMinorBase() 976 return DRM_NODE_PRIMARY; in drmGetMinorType() 992 case DRM_NODE_PRIMARY: in drmGetMinorType() 1004 case DRM_NODE_PRIMARY: in drmGetMinorName() 1183 return drmOpenWithType(name, busid, DRM_NODE_PRIMARY); in drmOpen() 3136 return drmOpenOnceWithType(BusID, newlyopened, DRM_NODE_PRIMARY); in drmOpenOnce() 3464 return drmGetMinorNameForFD(fd, DRM_NODE_PRIMARY); in drmGetPrimaryDeviceNameFromFd() 3631 case DRM_NODE_PRIMARY: in get_sysctl_pci_bus_info() [all …]
|
D | xf86drm.h | 598 #define DRM_NODE_PRIMARY 0 macro
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_surfaceless.c | 238 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
|
D | platform_ohos.c | 1167 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
|
D | platform_android.c | 1609 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_device.c | 364 primary_path = drm_primary_device->nodes[DRM_NODE_PRIMARY]; in pvr_physical_device_init() 475 assert(node_type == DRM_NODE_RENDER || node_type == DRM_NODE_PRIMARY); in pvr_drm_device_is_supported() 493 } else if (node_type == DRM_NODE_PRIMARY) { in pvr_drm_device_is_supported() 542 DRM_NODE_PRIMARY)) { in pvr_enumerate_devices() 546 drm_primary_device->nodes[DRM_NODE_PRIMARY]); in pvr_enumerate_devices()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 753 primary_path = drm_primary_device->nodes[DRM_NODE_PRIMARY]; in physical_device_init() 757 primary_path = drm_render_device->nodes[DRM_NODE_PRIMARY]; in physical_device_init() 956 const int required_nodes = (1 << DRM_NODE_RENDER) | (1 << DRM_NODE_PRIMARY); in enumerate_devices() 988 } else if (devices[i]->available_nodes & 1 << DRM_NODE_PRIMARY) { in enumerate_devices()
|
/third_party/libdrm/tests/amdgpu/ |
D | amdgpu_test.c | 350 drm_node = DRM_NODE_PRIMARY; in amdgpu_open_devices()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 627 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in tu_drm_device_init()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_device.c | 316 master_fd = open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in panvk_physical_device_init()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 743 master_fd = open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in radv_physical_device_try_create() 866 if ((drm_device->available_nodes & (1 << DRM_NODE_PRIMARY)) && in radv_physical_device_try_create() 867 stat(drm_device->nodes[DRM_NODE_PRIMARY], &primary_stat) != 0) { in radv_physical_device_try_create() 870 drm_device->nodes[DRM_NODE_PRIMARY]); in radv_physical_device_try_create() 2481 if (pdevice->available_nodes & (1 << DRM_NODE_PRIMARY)) { in radv_GetPhysicalDeviceProperties2()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_virtgpu.c | 1605 const char *primary_path = dev->nodes[DRM_NODE_PRIMARY]; in virtgpu_open_device()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 739 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in anv_physical_device_try_create()
|