drm/nouveau/bios/iccsense: rails for power sensors have a mask of 0xf8 for version...
authorKarol Herbst <karolherbst@gmail.com>
Sun, 23 Apr 2017 18:06:37 +0000 (20:06 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jun 2017 04:04:19 +0000 (14:04 +1000)
commit4dc33b12229fc540dc69b0d4aced60672bab142d
treed5cf20f859e101fbfd0bef81d7a76f900225a2f2
parentc0cd04700f5c88145602b35c24e9128767a4ad69
drm/nouveau/bios/iccsense: rails for power sensors have a mask of 0xf8 for version 0x10

I only saw those values inside the vbios: 0xff, 0xfd, 0xfc, 0xfa for valid
rails.

No idea what the lower value does, but at least we get power readings on
a lot of Fermi GPUs with that.

v2: add missing parentheses

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