Searched refs:DRM_NODE_PRIMARY (Results 1 – 12 of 12) 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 | 317 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 …]
|
D | xf86drm.h | 598 #define DRM_NODE_PRIMARY 0 macro
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_surfaceless.c | 229 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
|
D | platform_ohos.c | 1139 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
|
D | platform_android.c | 1602 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
|
/third_party/libdrm/tests/amdgpu/ |
D | amdgpu_test.c | 290 drm_node = DRM_NODE_PRIMARY; in amdgpu_open_devices()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 725 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/ |
D | panvk_device.c | 303 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 | 650 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/ |
D | tu_drm.c | 457 open(drm_device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC); in tu_drm_device_init()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 747 const char *primary_path = drm_device->nodes[DRM_NODE_PRIMARY]; in anv_physical_device_try_create()
|