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>
28 lines
735 B
C
28 lines
735 B
C
#ifndef __NVKM_MC_H__
|
|
#define __NVKM_MC_H__
|
|
#include <core/subdev.h>
|
|
|
|
struct nvkm_mc {
|
|
struct nvkm_subdev base;
|
|
bool use_msi;
|
|
unsigned int irq;
|
|
void (*unk260)(struct nvkm_mc *, u32);
|
|
};
|
|
|
|
static inline struct nvkm_mc *
|
|
nvkm_mc(void *obj)
|
|
{
|
|
return (void *)nvkm_subdev(obj, NVDEV_SUBDEV_MC);
|
|
}
|
|
|
|
extern struct nvkm_oclass *nv04_mc_oclass;
|
|
extern struct nvkm_oclass *nv40_mc_oclass;
|
|
extern struct nvkm_oclass *nv44_mc_oclass;
|
|
extern struct nvkm_oclass *nv4c_mc_oclass;
|
|
extern struct nvkm_oclass *nv50_mc_oclass;
|
|
extern struct nvkm_oclass *g94_mc_oclass;
|
|
extern struct nvkm_oclass *g98_mc_oclass;
|
|
extern struct nvkm_oclass *gf100_mc_oclass;
|
|
extern struct nvkm_oclass *gf106_mc_oclass;
|
|
extern struct nvkm_oclass *gk20a_mc_oclass;
|
|
#endif
|