1 | #ifndef __NVKM_PM_NV40_H__ |
---|---|
2 | #define __NVKM_PM_NV40_H__ |
3 | |
4 | #include "priv.h" |
5 | |
6 | struct nv40_perfmon_oclass { |
7 | struct nouveau_oclass base; |
8 | const struct nouveau_specdom *doms; |
9 | }; |
10 | |
11 | struct nv40_perfmon_priv { |
12 | struct nouveau_perfmon base; |
13 | u32 sequence; |
14 | }; |
15 | |
16 | int nv40_perfmon_ctor(struct nouveau_object *, struct nouveau_object *, |
17 | struct nouveau_oclass *, void *data, u32 size, |
18 | struct nouveau_object **pobject); |
19 | |
20 | struct nv40_perfmon_cntr { |
21 | struct nouveau_perfctr base; |
22 | }; |
23 | |
24 | extern const struct nouveau_funcdom nv40_perfctr_func; |
25 | |
26 | #endif |
27 |