aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h
blob: e83a0efd5d895290241fcb28544ce310e9ea2991 (plain) (blame)
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
#ifndef __NVKM_PM_NV40_H__
#define __NVKM_PM_NV40_H__

#include "priv.h"

struct nv40_pm_oclass {
	struct nouveau_oclass base;
	const struct nouveau_specdom *doms;
};

struct nv40_pm_priv {
	struct nouveau_pm base;
	u32 sequence;
};

int nv40_pm_ctor(struct nouveau_object *, struct nouveau_object *,
		      struct nouveau_oclass *, void *data, u32 size,
		      struct nouveau_object **pobject);

struct nv40_pm_cntr {
	struct nouveau_perfctr base;
};

extern const struct nouveau_funcdom nv40_perfctr_func;

#endif