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>
24 lines
565 B
C
24 lines
565 B
C
#ifndef __NVBIOS_VOLT_H__
|
|
#define __NVBIOS_VOLT_H__
|
|
struct nvbios_volt {
|
|
u8 vidmask;
|
|
u32 min;
|
|
u32 max;
|
|
u32 base;
|
|
s16 step;
|
|
};
|
|
|
|
u16 nvbios_volt_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
|
|
u16 nvbios_volt_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
|
|
struct nvbios_volt *);
|
|
|
|
struct nvbios_volt_entry {
|
|
u32 voltage;
|
|
u8 vid;
|
|
};
|
|
|
|
u16 nvbios_volt_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
|
|
u16 nvbios_volt_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
|
|
struct nvbios_volt_entry *);
|
|
#endif
|