GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / gpu / drm / nouveau / nvkm / engine / pm / gf100.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_PM_NVC0_H__
3 #define __NVKM_PM_NVC0_H__
4 #include "priv.h"
5
6 struct gf100_pm_func {
7         const struct nvkm_specdom *doms_hub;
8         const struct nvkm_specdom *doms_gpc;
9         const struct nvkm_specdom *doms_part;
10 };
11
12 int gf100_pm_new_(const struct gf100_pm_func *, struct nvkm_device *,
13                   int index, struct nvkm_pm **);
14
15 extern const struct nvkm_funcdom gf100_perfctr_func;
16 extern const struct nvkm_specdom gf100_pm_gpc[];
17
18 extern const struct nvkm_specsrc gf100_pbfb_sources[];
19 extern const struct nvkm_specsrc gf100_pmfb_sources[];
20 #endif