drm/nouveau/bios/volt: Parse min and max for Version 0x40
authorKarol Herbst <karolherbst@gmail.com>
Sun, 23 Apr 2017 08:36:31 +0000 (10:36 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jun 2017 04:04:19 +0000 (14:04 +1000)
commitc0cd04700f5c88145602b35c24e9128767a4ad69
tree685d7e832555ae88514450d951aed761cad955c7
parent0f18d2765ab1ab9530e1b80dc1bc247c8b13cef7
drm/nouveau/bios/volt: Parse min and max for Version 0x40

This is according to what we have in nvbios.

Fixes "ERROR: Can't get value of subfeature in0_min: Can't read" errors
in sensors for some GPUs.

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c