Home
last modified time | relevance | path

Searched refs:DRM_NODE_RENDER (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/gallium/winsys/kmsro/drm/
Dkmsro_drm_winsys.c63 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/
Degldevice.c117 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/
Dpps_device.cc77 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/
Dthreaded.c86 fd = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
/third_party/mesa3d/src/loader/
Dloader.c148 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/
Dquick.c6 int fd = drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER); in main()
/third_party/mesa3d/src/intel/dev/
Dintel_dev_info.c61 const char *path = devices[i]->nodes[DRM_NODE_RENDER]; in main()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_ohos.c1119 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()
Dplatform_surfaceless.c229 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
Dplatform_android.c1582 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()
Dplatform_drm.c732 dri2_dpy->is_render_node = drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER; in dri2_initialize_drm()
Dplatform_wayland.c1296 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/
Dmain.c239 int fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in main()
/third_party/libdrm/amdgpu/
Damdgpu_device.c85 if (drmGetNodeTypeFromFd(fd) == DRM_NODE_RENDER) in amdgpu_get_auth()
/third_party/libdrm/
Dxf86drm.c321 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()
Dxf86drm.h600 #define DRM_NODE_RENDER 2 macro
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c288 drm_node = DRM_NODE_RENDER; in amdgpu_open_devices()
/third_party/mesa3d/src/intel/common/tests/
Dmi_builder_test.cpp177 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/
Dv3dv_device.c709 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/
Dpanvk_device.c240 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/
Dvn_renderer_virtgpu.c1463 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/
Dfdperf.c123 fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in find_device()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c400 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/
Dradv_device.c575 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/
Dhwcontext_vaapi.c1675 if (node_type == DRM_NODE_RENDER) { in vaapi_device_derive()

12