1 #include "frontend/drm_driver.h"
2 #include "target-helpers/inline_debug_helper.h"
3 #include "radeon/drm/radeon_drm_public.h"
4 #include "radeon/radeon_winsys.h"
5 #include "r600/r600_public.h"
7 static struct pipe_screen
*
8 create_screen(int fd
, const struct pipe_screen_config
*config
)
10 struct radeon_winsys
*rw
;
12 rw
= radeon_drm_winsys_create(fd
, config
, r600_screen_create
);
13 return rw
? debug_screen_wrap(rw
->screen
) : NULL
;
17 DRM_DRIVER_DESCRIPTOR("r600", NULL
, create_screen
)