xref: /linux/drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h (revision 307797159ac25fe5a2048bf5c6a5718298edca57)
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