1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_PM_NV40_H__
3 #define __NVKM_PM_NV40_H__
4 #define nv40_pm(p) container_of((p), struct nv40_pm, base)
5 #include "priv.h"
6 
7 struct nv40_pm {
8 	struct nvkm_pm base;
9 	u32 sequence;
10 };
11 
12 int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *,
13 		 int index, struct nvkm_pm **);
14 extern const struct nvkm_funcdom nv40_perfctr_func;
15 #endif
16