summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h
blob: 40ced895bad33e0d6a33d7886591ec01ede0a9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __NVKM_PM_NVC0_H__
#define __NVKM_PM_NVC0_H__
#include "priv.h"

struct gf100_pm_oclass {
	struct nvkm_oclass base;
	const struct nvkm_specdom *doms_hub;
	const struct nvkm_specdom *doms_gpc;
	const struct nvkm_specdom *doms_part;
};

struct gf100_pm_priv {
	struct nvkm_pm base;
};

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;
};

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_pmfb_sources[];

#endif