/third_party/mesa3d/src/gallium/winsys/kmsro/drm/ |
D | kmsro_drm_winsys.c | 63 ro->gpu_fd = drmOpenWithType("vc4", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create() 79 ro->gpu_fd = drmOpenWithType("etnaviv", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create() 91 ro->gpu_fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create() 103 ro->gpu_fd = drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create() 116 ro->gpu_fd = drmOpenWithType("lima", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create() 128 ro->gpu_fd = drmOpenWithType("v3d", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
|
/third_party/mesa3d/src/egl/main/ |
D | egldevice.c | 117 1 << DRM_NODE_RENDER)) == 0) in _eglAddDRMDevice() 150 if (device->available_nodes & (1 << DRM_NODE_RENDER)) { in _eglAddDRMDevice() 227 return dev->device->nodes[DRM_NODE_RENDER]; in _eglGetDRMDeviceRenderNode() 266 return dev->device ? dev->device->nodes[DRM_NODE_RENDER] : NULL; in _eglQueryDeviceStringEXT() 303 if (!(devices[i]->available_nodes & (1 << DRM_NODE_RENDER))) in _eglRefreshDeviceList()
|
/third_party/mesa3d/src/tool/pps/ |
D | pps_device.cc | 77 if ((device->available_nodes & (1 << DRM_NODE_RENDER))) { in create_all() 78 int fd = open(device->nodes[DRM_NODE_RENDER], O_RDWR); in create_all() 104 int fd = open(device->nodes[DRM_NODE_RENDER], O_RDONLY); in create()
|
/third_party/libdrm/tests/nouveau/ |
D | threaded.c | 86 fd = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main() 88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
|
/third_party/mesa3d/src/loader/ |
D | loader.c | 148 if ((device->available_nodes & (1 << DRM_NODE_RENDER)) && in loader_open_render_node() 152 fd = loader_open_device(device->nodes[DRM_NODE_RENDER]); in loader_open_render_node() 329 if (!(devices[i]->available_nodes & 1 << DRM_NODE_RENDER)) in loader_get_user_preferred_fd() 345 fd = loader_open_device(devices[i]->nodes[DRM_NODE_RENDER]); in loader_get_user_preferred_fd()
|
/third_party/mesa3d/src/panfrost/perf/ |
D | quick.c | 6 int fd = drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER); in main()
|
/third_party/mesa3d/src/intel/dev/ |
D | intel_dev_info.c | 61 const char *path = devices[i]->nodes[DRM_NODE_RENDER]; in main()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_ohos.c | 1119 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) in ohos_open_device() 1137 const unsigned node_type = DRM_NODE_RENDER; in ohos_open_device() 1139 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in ohos_open_device()
|
D | platform_surfaceless.c | 229 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
|
D | platform_android.c | 1582 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) in droid_open_device() 1600 const unsigned node_type = DRM_NODE_RENDER; in droid_open_device() 1602 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
|
D | platform_drm.c | 732 dri2_dpy->is_render_node = drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER; in dri2_initialize_drm()
|
D | platform_wayland.c | 1296 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) { in drm_handle_device() 1601 dri2_dpy->is_render_node = drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER; in dri2_initialize_wayland_drm()
|
/third_party/mesa3d/src/freedreno/computerator/ |
D | main.c | 239 int fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in main()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_device.c | 85 if (drmGetNodeTypeFromFd(fd) == DRM_NODE_RENDER) in amdgpu_get_auth()
|
/third_party/libdrm/ |
D | xf86drm.c | 321 case DRM_NODE_RENDER: in drmGetDeviceName() 518 case DRM_NODE_RENDER: in drmGetMinorBase() 541 return DRM_NODE_RENDER; in drmGetMinorType() 555 case DRM_NODE_RENDER: in drmGetMinorType() 569 case DRM_NODE_RENDER: in drmGetMinorName() 793 return drmOpenMinor(minor, 0, DRM_NODE_RENDER); in drmOpenRender() 3015 return drmGetMinorNameForFD(fd, DRM_NODE_RENDER); in drmGetRenderDeviceNameFromFd() 3182 case DRM_NODE_RENDER: in get_sysctl_pci_bus_info() 3302 return DRM_NODE_RENDER; in drmGetNodeType()
|
D | xf86drm.h | 600 #define DRM_NODE_RENDER 2 macro
|
/third_party/libdrm/tests/amdgpu/ |
D | amdgpu_test.c | 288 drm_node = DRM_NODE_RENDER; in amdgpu_open_devices()
|
/third_party/mesa3d/src/intel/common/tests/ |
D | mi_builder_test.cpp | 177 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in SetUp() 180 fd = open(devices[i]->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); in SetUp()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 709 const char *path = drm_render_device->nodes[DRM_NODE_RENDER]; in physical_device_init() 865 const int required_nodes = (1 << DRM_NODE_RENDER) | (1 << DRM_NODE_PRIMARY); in enumerate_devices() 887 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER) { in enumerate_devices()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_device.c | 240 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in panvk_physical_device_init() 378 if ((devices[i]->available_nodes & (1 << DRM_NODE_RENDER)) && in panvk_enumerate_devices()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_virtgpu.c | 1463 if (!(dev->available_nodes & (1 << DRM_NODE_RENDER)) || in virtgpu_open_device() 1480 const char *node_path = dev->nodes[DRM_NODE_RENDER]; in virtgpu_open_device()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 123 fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in find_device()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 400 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in tu_drm_device_init() 529 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in tu_enumerate_devices()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 575 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in radv_physical_device_try_create() 761 if ((drm_device->available_nodes & (1 << DRM_NODE_RENDER)) && in radv_physical_device_try_create() 762 stat(drm_device->nodes[DRM_NODE_RENDER], &render_stat) != 0) { in radv_physical_device_try_create() 765 drm_device->nodes[DRM_NODE_RENDER]); in radv_physical_device_try_create() 1057 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in radv_enumerate_physical_devices() 2203 if (pdevice->available_nodes & (1 << DRM_NODE_RENDER)) { in radv_GetPhysicalDeviceProperties2()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_vaapi.c | 1675 if (node_type == DRM_NODE_RENDER) { in vaapi_device_derive()
|