2015-01-14 02:11:28 +00:00
|
|
|
#ifndef __NVKM_PM_H__
|
|
|
|
#define __NVKM_PM_H__
|
|
|
|
#include <core/engine.h>
|
|
|
|
|
2015-01-14 05:31:13 +00:00
|
|
|
struct nvkm_pm {
|
2015-08-20 04:54:22 +00:00
|
|
|
const struct nvkm_pm_func *func;
|
2015-08-20 04:54:08 +00:00
|
|
|
struct nvkm_engine engine;
|
2015-01-14 02:11:28 +00:00
|
|
|
|
2015-08-20 04:54:19 +00:00
|
|
|
struct nvkm_object *perfmon;
|
2015-01-14 02:11:28 +00:00
|
|
|
|
|
|
|
struct list_head domains;
|
2015-06-07 20:40:22 +00:00
|
|
|
struct list_head sources;
|
2015-01-14 02:11:28 +00:00
|
|
|
u32 sequence;
|
|
|
|
};
|
|
|
|
|
2015-08-20 04:54:22 +00:00
|
|
|
int nv40_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int nv50_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int g84_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gt200_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gt215_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gf100_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gf108_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gf117_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
|
|
|
int gk104_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
|
2015-01-14 02:11:28 +00:00
|
|
|
#endif
|