Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/kmsro/drm/
Dkmsro_drm_winsys.c50 ro.gpu_fd = drmOpenWithType("vc4", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
66 ro.gpu_fd = drmOpenWithType("etnaviv", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
78 ro.gpu_fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
90 ro.gpu_fd = drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
103 ro.gpu_fd = drmOpenWithType("lima", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
115 ro.gpu_fd = drmOpenWithType("v3d", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
/external/virglrenderer/src/drm/
Ddrm_renderer.c51 fd = drmOpenWithType(b->name, NULL, DRM_NODE_RENDER); in drm_renderer_init()
129 int fd = drmOpenWithType(b->name, NULL, DRM_NODE_RENDER); in drm_renderer_create()
/external/libdrm/tests/nouveau/
Dthreaded.c86 fd = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
/external/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()
/external/libdrm/tests/amdgpu/
Damdgpu_stress.c104 if (!(devices[i]->available_nodes & 1 << DRM_NODE_RENDER)) in amdgpu_open_device()
107 fd = open(devices[i]->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); in amdgpu_open_device()
117 devices[i]->nodes[DRM_NODE_RENDER], in amdgpu_open_device()
Damdgpu_test.c322 drm_node = DRM_NODE_RENDER; in amdgpu_open_devices()
/external/mesa3d/src/egl/main/
Degldevice.c111 const int wanted_nodes = 1 << DRM_NODE_RENDER | 1 << DRM_NODE_PRIMARY; in _eglAddDRMDevice()
215 return dev->device->nodes[DRM_NODE_RENDER]; in _eglGetDRMDeviceRenderNode()
/external/mesa3d/src/intel/dev/
Dintel_device_info.c61 const char *path = devices[i]->nodes[DRM_NODE_RENDER]; in main()
/external/mesa3d/src/freedreno/computerator/
Dmain.c241 int fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in main()
/external/webrtc/modules/desktop_capture/linux/wayland/
Degl_dmabuf.cc693 if (device->available_nodes & (1 << DRM_NODE_RENDER)) { in GetRenderNode()
694 render_node = device->nodes[DRM_NODE_RENDER]; in GetRenderNode()
/external/libdrm/amdgpu/
Damdgpu_device.c85 if (drmGetNodeTypeFromFd(fd) == DRM_NODE_RENDER) in amdgpu_get_auth()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c228 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in surfaceless_probe_device()
Dplatform_android.c1533 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) in droid_open_device()
1551 const unsigned node_type = DRM_NODE_RENDER; in droid_open_device()
1553 const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER; in droid_open_device()
Dplatform_drm.c730 dri2_dpy->is_render_node = drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER; in dri2_initialize_drm()
Dplatform_wayland.c1258 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) { in drm_handle_device()
1561 dri2_dpy->is_render_node = drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER; in dri2_initialize_wayland_drm()
/external/libdrm/
Dxf86drm.c759 case DRM_NODE_RENDER: in drmGetDeviceName()
956 case DRM_NODE_RENDER: in drmGetMinorBase()
979 return DRM_NODE_RENDER; in drmGetMinorType()
993 case DRM_NODE_RENDER: in drmGetMinorType()
1007 case DRM_NODE_RENDER: in drmGetMinorName()
1231 return drmOpenMinor(minor, 0, DRM_NODE_RENDER); in drmOpenRender()
3468 return drmGetMinorNameForFD(fd, DRM_NODE_RENDER); in drmGetRenderDeviceNameFromFd()
3635 case DRM_NODE_RENDER: in get_sysctl_pci_bus_info()
3755 return DRM_NODE_RENDER; in drmGetNodeType()
Dxf86drm.h600 #define DRM_NODE_RENDER 2 macro
/external/mesa3d/src/panfrost/bifrost/test/
Dbi_submit.c46 int fd = drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER); in bit_initialize()
/external/mesa3d/src/intel/common/tests/
Dgen_mi_builder_test.cpp166 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in SetUp()
169 fd = open(devices[i]->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); in SetUp()
/external/minigbm/
Dminigbm_helpers.c368 gbm = try_drm_devices(devs, dev_count, DRM_NODE_RENDER, out_fd); in minigbm_create_default_device()
/external/mesa3d/src/freedreno/vulkan/
Dtu_drm.c306 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in tu_drm_device_init()
430 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in tu_enumerate_devices()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c457 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in physical_device_init()
568 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in enumerate_devices()
589 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER) { in enumerate_devices()
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c300 fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in find_device()
/external/mesa3d/src/intel/vulkan/
Danv_device.c304 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in anv_physical_device_try_create()
824 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in anv_enumerate_physical_devices()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c305 const char *path = drm_device->nodes[DRM_NODE_RENDER]; in radv_physical_device_try_create()
893 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in radv_enumerate_physical_devices()