1 #include "state_tracker/drm_driver.h" 2 #include "target-helpers/inline_debug_helper.h" 3 #include "nouveau/drm/nouveau_drm_public.h" 4 create_screen(int fd)5static struct pipe_screen *create_screen(int fd) 6 { 7 struct pipe_screen *screen; 8 9 screen = nouveau_drm_screen_create(fd); 10 if (!screen) 11 return NULL; 12 13 screen = debug_screen_wrap(screen); 14 15 return screen; 16 } 17 18 DRM_DRIVER_DESCRIPTOR("nouveau", "nouveau", create_screen, NULL) 19