1 #ifndef __NV50_SCREEN_H__
2 #define __NV50_SCREEN_H__
4 #include "pipe/p_screen.h"
7 struct pipe_screen pipe
;
9 struct nouveau_winsys
*nvws
;
13 struct nouveau_grobj
*tesla
;
14 struct nouveau_grobj
*eng2d
;
15 struct nouveau_grobj
*m2mf
;
16 struct nouveau_notifier
*sync
;
18 struct pipe_buffer
*constbuf_misc
[1];
19 struct pipe_buffer
*constbuf_parm
[2];
21 struct nouveau_resource
*immd_heap
[1];
22 struct nouveau_resource
*parm_heap
[2];
24 struct pipe_buffer
*tic
;
25 struct pipe_buffer
*tsc
;
27 struct nouveau_stateobj
*static_init
;
30 static INLINE
struct nv50_screen
*
31 nv50_screen(struct pipe_screen
*screen
)
33 return (struct nv50_screen
*)screen
;
36 void nv50_transfer_init_screen_functions(struct pipe_screen
*);