Commit 24580d1c authored by Martin Peres's avatar Martin Peres Committed by Ben Skeggs

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: default avatarMartin Peres <martin.peres@free.fr>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent dc47700f
...@@ -1982,6 +1982,7 @@ nv124_chipset = { ...@@ -1982,6 +1982,7 @@ nv124_chipset = {
.pci = nv40_pci_new, .pci = nv40_pci_new,
.pmu = gm107_pmu_new, .pmu = gm107_pmu_new,
.timer = gk20a_timer_new, .timer = gk20a_timer_new,
.volt = gk104_volt_new,
.ce[0] = gm204_ce_new, .ce[0] = gm204_ce_new,
.ce[1] = gm204_ce_new, .ce[1] = gm204_ce_new,
.ce[2] = gm204_ce_new, .ce[2] = gm204_ce_new,
...@@ -2012,6 +2013,7 @@ nv126_chipset = { ...@@ -2012,6 +2013,7 @@ nv126_chipset = {
.pci = nv40_pci_new, .pci = nv40_pci_new,
.pmu = gm107_pmu_new, .pmu = gm107_pmu_new,
.timer = gk20a_timer_new, .timer = gk20a_timer_new,
.volt = gk104_volt_new,
.ce[0] = gm204_ce_new, .ce[0] = gm204_ce_new,
.ce[1] = gm204_ce_new, .ce[1] = gm204_ce_new,
.ce[2] = gm204_ce_new, .ce[2] = gm204_ce_new,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment