da481abe8f7a2dda878e6e5e465fb79e0d7a969a
[releases.git] / nv40.h
1 #ifndef __NVKM_PM_NV40_H__
2 #define __NVKM_PM_NV40_H__
3 #define nv40_pm(p) container_of((p), struct nv40_pm, base)
4 #include "priv.h"
5
6 struct nv40_pm {
7         struct nvkm_pm base;
8         u32 sequence;
9 };
10
11 int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *,
12                  int index, struct nvkm_pm **);
13 extern const struct nvkm_funcdom nv40_perfctr_func;
14 #endif