Home
last modified time | relevance | path

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

/third_party/mesa3d/src/egl/main/
Degldevice.c116 if ((device->available_nodes & (1 << DRM_NODE_PRIMARY | in _eglAddDRMDevice()
254 return dev->device->nodes[DRM_NODE_PRIMARY]; in _eglQueryDeviceStringEXT()
/third_party/libdrm/
Dxf86drm.c756 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 …]
Dxf86drm.h598 #define DRM_NODE_PRIMARY 0 macro
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c238 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
Dplatform_ohos.c1167 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
Dplatform_android.c1609 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c364 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/
Dv3dv_device.c753 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/
Damdgpu_test.c350 drm_node = DRM_NODE_PRIMARY; in amdgpu_open_devices()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c627 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in tu_drm_device_init()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c316 master_fd = open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in panvk_physical_device_init()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c743 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/
Dvn_renderer_virtgpu.c1605 const char *primary_path = dev->nodes[DRM_NODE_PRIMARY]; in virtgpu_open_device()
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c739 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in anv_physical_device_try_create()