2013-02-13 05:29:11 +00:00
|
|
|
#ifndef __NVKM_PM_NV40_H__
|
|
|
|
#define __NVKM_PM_NV40_H__
|
2015-08-20 04:54:22 +00:00
|
|
|
#define nv40_pm(p) container_of((p), struct nv40_pm, base)
|
2013-02-13 05:29:11 +00:00
|
|
|
#include "priv.h"
|
|
|
|
|
2015-08-20 04:54:08 +00:00
|
|
|
struct nv40_pm {
|
2015-01-14 05:31:13 +00:00
|
|
|
struct nvkm_pm base;
|
2013-02-13 05:29:11 +00:00
|
|
|
u32 sequence;
|
|
|
|
};
|
|
|
|
|
2015-08-20 04:54:22 +00:00
|
|
|
int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *,
|
|
|
|
int index, struct nvkm_pm **);
|
2015-01-14 05:31:13 +00:00
|
|
|
extern const struct nvkm_funcdom nv40_perfctr_func;
|
2013-02-13 05:29:11 +00:00
|
|
|
#endif
|