1 #ifndef __NV50_SCREEN_H__
2 #define __NV50_SCREEN_H__
4 #include "nouveau/nouveau_screen.h"
9 struct nouveau_screen base
;
11 struct nouveau_winsys
*nvws
;
13 struct nv50_context
*cur_ctx
;
15 struct nouveau_grobj
*tesla
;
16 struct nouveau_grobj
*eng2d
;
17 struct nouveau_grobj
*m2mf
;
18 struct nouveau_notifier
*sync
;
20 struct nouveau_bo
*constbuf_misc
[1];
21 struct nouveau_bo
*constbuf_parm
[PIPE_SHADER_TYPES
];
23 struct nouveau_resource
*immd_heap
;
25 struct pipe_resource
*strm_vbuf
[16];
27 struct nouveau_bo
*tic
;
28 struct nouveau_bo
*tsc
;
33 static INLINE
struct nv50_screen
*
34 nv50_screen(struct pipe_screen
*screen
)
36 return (struct nv50_screen
*)screen
;
39 extern void nv50_screen_relocs(struct nv50_screen
*);