pm.h revision 1.2
1/* $NetBSD: pm.h,v 1.2 2018/08/27 04:58:30 riastradh Exp $ */ 2 3#ifndef __NVKM_PM_H__ 4#define __NVKM_PM_H__ 5#include <core/engine.h> 6 7struct nvkm_pm { 8 const struct nvkm_pm_func *func; 9 struct nvkm_engine engine; 10 11 struct nvkm_object *perfmon; 12 13 struct list_head domains; 14 struct list_head sources; 15 u32 sequence; 16}; 17 18int nv40_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 19int nv50_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 20int g84_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 21int gt200_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 22int gt215_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 23int gf100_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 24int gf108_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 25int gf117_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 26int gk104_pm_new(struct nvkm_device *, int, struct nvkm_pm **); 27#endif 28