drm/nouveau/bios/vmap: unk0 field is the mode

Depending on the value a different formular is used to calculated the
voltage for this entry.

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Karol Herbst
2016-07-12 21:36:08 +02:00
committed by Ben Skeggs
parent 5e00e3263b
commit 5c3b16ee1d
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ u16 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
struct nvbios_vmap *);
struct nvbios_vmap_entry {
u8 unk0;
u8 mode;
u8 link;
u32 min;
u32 max;