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