2015-01-14 10:11:28 +08:00
|
|
|
#ifndef __NVKM_PM_H__
|
|
|
|
#define __NVKM_PM_H__
|
2015-08-20 12:54:19 +08:00
|
|
|
#define nvkm_pm(p) container_of((p), struct nvkm_pm, engine)
|
2015-01-14 10:11:28 +08:00
|
|
|
#include <core/engine.h>
|
|
|
|
|
2015-01-14 13:31:13 +08:00
|
|
|
struct nvkm_perfdom;
|
|
|
|
struct nvkm_perfctr;
|
|
|
|
struct nvkm_pm {
|
2015-08-20 12:54:08 +08:00
|
|
|
struct nvkm_engine engine;
|
2015-01-14 10:11:28 +08:00
|
|
|
|
2015-08-20 12:54:19 +08:00
|
|
|
struct nvkm_object *perfmon;
|
2015-01-14 10:11:28 +08:00
|
|
|
|
|
|
|
struct list_head domains;
|
2015-06-08 04:40:22 +08:00
|
|
|
struct list_head sources;
|
2015-01-14 10:11:28 +08:00
|
|
|
u32 sequence;
|
|
|
|
};
|
|
|
|
|
2015-01-14 13:31:13 +08:00
|
|
|
extern struct nvkm_oclass *nv40_pm_oclass;
|
|
|
|
extern struct nvkm_oclass *nv50_pm_oclass;
|
|
|
|
extern struct nvkm_oclass *g84_pm_oclass;
|
2015-06-08 04:40:28 +08:00
|
|
|
extern struct nvkm_oclass *gt200_pm_oclass;
|
2015-01-14 13:31:13 +08:00
|
|
|
extern struct nvkm_oclass *gt215_pm_oclass;
|
2015-06-14 19:33:54 +08:00
|
|
|
extern struct nvkm_oclass *gf100_pm_oclass;
|
2015-06-14 19:33:55 +08:00
|
|
|
extern struct nvkm_oclass *gf108_pm_oclass;
|
|
|
|
extern struct nvkm_oclass *gf117_pm_oclass;
|
2015-06-19 23:37:17 +08:00
|
|
|
extern struct nvkm_oclass *gk104_pm_oclass;
|
2015-01-14 13:31:13 +08:00
|
|
|
extern struct nvkm_oclass gk110_pm_oclass;
|
2015-01-14 10:11:28 +08:00
|
|
|
#endif
|