drm/nouveau/bios/vmap: unk0 field is the mode
authorKarol Herbst <karolherbst@gmail.com>
Tue, 12 Jul 2016 19:36:08 +0000 (21:36 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:26 +0000 (17:29 +1000)
commit5c3b16ee1db65d2fc86b58e36f51b22862923d8c
treef0bc902f879894309808339f3b83ffb4a004463c
parent5e00e3263ba68bd32337063a43aa8467b27acd1d
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>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h
drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c