aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/engine/perfmon/nv40.h
blob: 1b5792d1df14423888eb4552912549327fc5ee91 (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_perfmon_oclass {
	struct nouveau_oclass base;
	const struct nouveau_specdom *doms;
};

struct nv40_perfmon_priv {
	struct nouveau_perfmon base;
	u32 sequence;
};

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

struct nv40_perfmon_cntr {
	struct nouveau_perfctr base;
};

extern const struct nouveau_funcdom nv40_perfctr_func;

#endif