Home
last modified time | relevance | path

Searched refs:DRM_NODE_PRIMARY (Results 1 – 12 of 12) 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.c317 case DRM_NODE_PRIMARY: in drmGetDeviceName()
493 if ((fd = drmOpenMinor(0, 1, DRM_NODE_PRIMARY)) < 0) { in drmAvailable()
514 case DRM_NODE_PRIMARY: in drmGetMinorBase()
537 return DRM_NODE_PRIMARY; in drmGetMinorType()
553 case DRM_NODE_PRIMARY: in drmGetMinorType()
565 case DRM_NODE_PRIMARY: in drmGetMinorName()
744 return drmOpenWithType(name, busid, DRM_NODE_PRIMARY); in drmOpen()
2692 return drmOpenOnceWithType(BusID, newlyopened, DRM_NODE_PRIMARY); in drmOpenOnce()
3010 return drmGetMinorNameForFD(fd, DRM_NODE_PRIMARY); in drmGetPrimaryDeviceNameFromFd()
3177 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.c229 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
Dplatform_ohos.c1139 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
Dplatform_android.c1602 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c290 drm_node = DRM_NODE_PRIMARY; in amdgpu_open_devices()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c725 primary_path = drm_primary_device->nodes[DRM_NODE_PRIMARY]; in physical_device_init()
729 primary_path = drm_render_device->nodes[DRM_NODE_PRIMARY]; in physical_device_init()
865 const int required_nodes = (1 << DRM_NODE_RENDER) | (1 << DRM_NODE_PRIMARY); in enumerate_devices()
896 } else if (devices[i]->available_nodes & 1 << DRM_NODE_PRIMARY) { in enumerate_devices()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c303 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.c650 master_fd = open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in radv_physical_device_try_create()
752 if ((drm_device->available_nodes & (1 << DRM_NODE_PRIMARY)) && in radv_physical_device_try_create()
753 stat(drm_device->nodes[DRM_NODE_PRIMARY], &primary_stat) != 0) { in radv_physical_device_try_create()
756 drm_device->nodes[DRM_NODE_PRIMARY]); in radv_physical_device_try_create()
2196 if (pdevice->available_nodes & (1 << DRM_NODE_PRIMARY)) { in radv_GetPhysicalDeviceProperties2()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c457 open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in tu_drm_device_init()
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c747 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in anv_physical_device_try_create()