Home
last modified time | relevance | path

Searched refs:DRM_NODE_RENDER (Results 1 – 21 of 21) 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/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/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/libdrm/amdgpu/
Damdgpu_device.c85 if (drmGetNodeTypeFromFd(fd) == DRM_NODE_RENDER) in amdgpu_get_auth()
/external/libdrm/
Dxf86drm.c337 case DRM_NODE_RENDER: in drmGetDeviceName()
534 case DRM_NODE_RENDER: in drmGetMinorBase()
557 return DRM_NODE_RENDER; in drmGetMinorType()
571 case DRM_NODE_RENDER: in drmGetMinorType()
585 case DRM_NODE_RENDER: in drmGetMinorName()
809 return drmOpenMinor(minor, 0, DRM_NODE_RENDER); in drmOpenRender()
3036 return drmGetMinorNameForFD(fd, DRM_NODE_RENDER); in drmGetRenderDeviceNameFromFd()
3203 case DRM_NODE_RENDER: in get_sysctl_pci_bus_info()
3323 return DRM_NODE_RENDER; in drmGetNodeType()
Dxf86drm.h600 #define DRM_NODE_RENDER 2 macro
/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.c1497 if (drmGetNodeTypeFromFd(dri2_dpy->fd) == DRM_NODE_RENDER) in droid_open_device()
1515 const unsigned node_type = DRM_NODE_RENDER; in droid_open_device()
1517 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/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/libdrm/tests/amdgpu/
Damdgpu_test.c299 drm_node = DRM_NODE_RENDER; in amdgpu_open_devices()
/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()