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
388 B
C
21 lines
388 B
C
#ifndef __NVBIOS_INIT_H__
|
|
#define __NVBIOS_INIT_H__
|
|
struct nvbios_init {
|
|
struct nvkm_subdev *subdev;
|
|
struct nvkm_bios *bios;
|
|
u16 offset;
|
|
struct dcb_output *outp;
|
|
int crtc;
|
|
|
|
/* internal state used during parsing */
|
|
u8 execute;
|
|
u32 nested;
|
|
u16 repeat;
|
|
u16 repend;
|
|
u32 ramcfg;
|
|
};
|
|
|
|
int nvbios_exec(struct nvbios_init *);
|
|
int nvbios_init(struct nvkm_subdev *, bool execute);
|
|
#endif
|