Home
last modified time | relevance | path

Searched refs:gpu_fd (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/kmsro/drm/
Dkmsro_drm_winsys.c43 if (ro->gpu_fd >= 0) in kmsro_ro_destroy()
44 close(ro->gpu_fd); in kmsro_ro_destroy()
59 ro->gpu_fd = -1; in kmsro_drm_screen_create()
63 ro->gpu_fd = drmOpenWithType("vc4", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
64 if (ro->gpu_fd >= 0) { in kmsro_drm_screen_create()
79 ro->gpu_fd = drmOpenWithType("etnaviv", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
80 if (ro->gpu_fd >= 0) { in kmsro_drm_screen_create()
91 ro->gpu_fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); in kmsro_drm_screen_create()
92 if (ro->gpu_fd >= 0) { in kmsro_drm_screen_create()
94 screen = fd_drm_screen_create(ro->gpu_fd, ro, config); in kmsro_drm_screen_create()
[all …]
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c98 screen_create(int gpu_fd, struct renderonly *ro) in screen_create() argument
105 dev = etna_device_new_dup(gpu_fd); in screen_create()
159 etna_lookup_or_create_screen(int gpu_fd, struct renderonly *ro) in etna_lookup_or_create_screen() argument
170 pscreen = util_hash_table_get(fd_tab, intptr_to_pointer(gpu_fd)); in etna_lookup_or_create_screen()
174 pscreen = screen_create(gpu_fd, ro); in etna_lookup_or_create_screen()
195 return etna_lookup_or_create_screen(ro->gpu_fd, ro); in etna_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/drivers/tegra/
Dtegra_screen.h34 int gpu_fd; member
Dtegra_screen.c568 screen->gpu_fd = loader_open_render_node("nouveau"); in tegra_screen_create()
569 if (screen->gpu_fd < 0) { in tegra_screen_create()
577 screen->gpu = nouveau_drm_screen_create(screen->gpu_fd); in tegra_screen_create()
580 close(screen->gpu_fd); in tegra_screen_create()
/third_party/mesa3d/src/gallium/winsys/v3d/drm/
Dv3d_drm_winsys.c43 return v3d_screen_create(ro->gpu_fd, config, ro); in v3d_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/winsys/vc4/drm/
Dvc4_drm_winsys.c64 return vc4_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro); in vc4_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/auxiliary/renderonly/
Drenderonly.h64 int gpu_fd; member
/third_party/mesa3d/src/gallium/winsys/lima/drm/
Dlima_drm_winsys.c106 return lima_screen_create(os_dupfd_cloexec(ro->gpu_fd), ro); in lima_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/winsys/panfrost/drm/
Dpanfrost_drm_winsys.c123 return panfrost_create_screen(os_dupfd_cloexec(ro->gpu_fd), ro); in panfrost_drm_screen_create_renderonly()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst869 - etnaviv: extend screen_create(..) with gpu_fd