posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / engine / pm / gf100.h
blob56d0344853eacb48d27a62f2a4b29f055e8fef67
1 #ifndef __NVKM_PM_NVC0_H__
2 #define __NVKM_PM_NVC0_H__
3 #include "priv.h"
5 struct gf100_pm_func {
6 const struct nvkm_specdom *doms_hub;
7 const struct nvkm_specdom *doms_gpc;
8 const struct nvkm_specdom *doms_part;
9 };
11 int gf100_pm_new_(const struct gf100_pm_func *, struct nvkm_device *,
12 int index, struct nvkm_pm **);
14 extern const struct nvkm_funcdom gf100_perfctr_func;
15 extern const struct nvkm_specdom gf100_pm_gpc[];
17 extern const struct nvkm_specsrc gf100_pbfb_sources[];
18 extern const struct nvkm_specsrc gf100_pmfb_sources[];
19 #endif