diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h b/drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h index de6162221823..56d0344853ea 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h @@ -2,27 +2,18 @@ #define __NVKM_PM_NVC0_H__ #include "priv.h" -struct gf100_pm_oclass { - struct nvkm_oclass base; +struct gf100_pm_func { const struct nvkm_specdom *doms_hub; const struct nvkm_specdom *doms_gpc; const struct nvkm_specdom *doms_part; }; -int gf100_pm_ctor(struct nvkm_object *, struct nvkm_object *, - struct nvkm_oclass *, void *data, u32 size, - struct nvkm_object **pobject); - -struct gf100_pm_cntr { - struct nvkm_perfctr base; -}; +int gf100_pm_new_(const struct gf100_pm_func *, struct nvkm_device *, + int index, struct nvkm_pm **); extern const struct nvkm_funcdom gf100_perfctr_func; -int gf100_pm_fini(struct nvkm_object *, bool); - extern const struct nvkm_specdom gf100_pm_gpc[]; extern const struct nvkm_specsrc gf100_pbfb_sources[]; extern const struct nvkm_specsrc gf100_pmfb_sources[]; - #endif |