pm.h 833 B

12345678910111213141516171819202122232425
  1. #ifndef __NVKM_PM_H__
  2. #define __NVKM_PM_H__
  3. #include <core/engine.h>
  4. struct nvkm_pm {
  5. const struct nvkm_pm_func *func;
  6. struct nvkm_engine engine;
  7. struct nvkm_object *perfmon;
  8. struct list_head domains;
  9. struct list_head sources;
  10. u32 sequence;
  11. };
  12. int nv40_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  13. int nv50_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  14. int g84_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  15. int gt200_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  16. int gt215_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  17. int gf100_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  18. int gf108_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  19. int gf117_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  20. int gk104_pm_new(struct nvkm_device *, int, struct nvkm_pm **);
  21. #endif