linux/drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h
Ben Skeggs 4d34686eb6 drm/nouveau/pm: namespace + nvidia gpu names (no binary change)
The namespace of NVKM is being changed to nvkm_ instead of nouveau_,
which will be used for the DRM part of the driver.  This is being
done in order to make it very clear as to what part of the driver a
given symbol belongs to, and as a minor step towards splitting the
DRM driver out to be able to stand on its own (for virt).

Because there's already a large amount of churn here anyway, this is
as good a time as any to also switch to NVIDIA's device and chipset
naming to ease collaboration with them.

A comparison of objdump disassemblies proves no code changes.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-01-22 12:18:04 +10:00

25 lines
489 B
C

#ifndef __NVKM_PM_NV40_H__
#define __NVKM_PM_NV40_H__
#include "priv.h"
struct nv40_pm_oclass {
struct nvkm_oclass base;
const struct nvkm_specdom *doms;
};
struct nv40_pm_priv {
struct nvkm_pm base;
u32 sequence;
};
int nv40_pm_ctor(struct nvkm_object *, struct nvkm_object *,
struct nvkm_oclass *, void *data, u32 size,
struct nvkm_object **pobject);
struct nv40_pm_cntr {
struct nvkm_perfctr base;
};
extern const struct nvkm_funcdom nv40_perfctr_func;
#endif