drm/nouveau/gm204/6: add voltage control using the new gk104 volt class
authorMartin Peres <martin.peres@free.fr>
Wed, 16 Sep 2015 19:45:33 +0000 (22:45 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commit24580d1c310d5987f72adbb49bf3e976a5e5313b
tree3c61b78edaf4c89fe8d215e59fcee6bd16e834be
parentdc47700f7d965ca0c6abeccc8cf467de8a1ce768
drm/nouveau/gm204/6: add voltage control using the new gk104 volt class

I got confirmation that we can read and change the voltage with the same code.
The divider is also computed correctly on the gm204 we got our hands on.

Thanks to Yoshimo on IRC for executing the tests on his gm204!

Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c