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>
21 lines
512 B
C
21 lines
512 B
C
#ifndef __NVKM_BUS_NV04_H__
|
|
#define __NVKM_BUS_NV04_H__
|
|
#include <subdev/bus.h>
|
|
|
|
struct nv04_bus_priv {
|
|
struct nvkm_bus base;
|
|
};
|
|
|
|
int nv04_bus_ctor(struct nvkm_object *, struct nvkm_object *,
|
|
struct nvkm_oclass *, void *, u32,
|
|
struct nvkm_object **);
|
|
int nv50_bus_init(struct nvkm_object *);
|
|
void nv50_bus_intr(struct nvkm_subdev *);
|
|
|
|
struct nv04_bus_impl {
|
|
struct nvkm_oclass base;
|
|
void (*intr)(struct nvkm_subdev *);
|
|
int (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
|
|
u32 hwsq_size;
|
|
};
|
|
#endif
|