]>
Commit | Line | Data |
---|---|---|
70cabe4a BS |
1 | #ifndef __NV50_DISP_H__ |
2 | #define __NV50_DISP_H__ | |
3 | ||
4 | #include <core/parent.h> | |
5 | #include <engine/disp.h> | |
6 | ||
7 | struct nv50_disp_priv { | |
8 | struct nouveau_disp base; | |
9 | struct nouveau_oclass *sclass; | |
10 | struct { | |
11 | int nr; | |
12 | } head; | |
13 | struct { | |
14 | int nr; | |
15 | } dac; | |
16 | struct { | |
17 | int nr; | |
18 | } sor; | |
19 | }; | |
20 | ||
21 | struct nv50_disp_base { | |
22 | struct nouveau_parent base; | |
23 | }; | |
24 | ||
25 | struct nv50_disp_chan { | |
26 | struct nouveau_object base; | |
27 | }; | |
28 | ||
29 | extern struct nouveau_ofuncs nv50_disp_mast_ofuncs; | |
30 | extern struct nouveau_ofuncs nv50_disp_dmac_ofuncs; | |
31 | extern struct nouveau_ofuncs nv50_disp_pioc_ofuncs; | |
32 | extern struct nouveau_ofuncs nv50_disp_base_ofuncs; | |
33 | extern struct nouveau_oclass nv50_disp_cclass; | |
34 | void nv50_disp_intr(struct nouveau_subdev *); | |
35 | ||
36 | #endif |