2019-06-19 20:13:43 -04:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2013-02-13 15:29:11 +10:00
|
|
|
#ifndef __NVKM_PM_NV40_H__
|
|
|
|
|
#define __NVKM_PM_NV40_H__
|
2015-08-20 14:54:22 +10:00
|
|
|
#define nv40_pm(p) container_of((p), struct nv40_pm, base)
|
2013-02-13 15:29:11 +10:00
|
|
|
#include "priv.h"
|
|
|
|
|
|
2015-08-20 14:54:08 +10:00
|
|
|
struct nv40_pm {
|
2015-01-14 15:31:13 +10:00
|
|
|
struct nvkm_pm base;
|
2013-02-13 15:29:11 +10:00
|
|
|
u32 sequence;
|
|
|
|
|
};
|
|
|
|
|
|
2020-12-04 16:07:49 +10:00
|
|
|
int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *, enum nvkm_subdev_type, int,
|
|
|
|
|
struct nvkm_pm **);
|
2015-01-14 15:31:13 +10:00
|
|
|
extern const struct nvkm_funcdom nv40_perfctr_func;
|
2013-02-13 15:29:11 +10:00
|
|
|
#endif
|