diff options
author | Martin Peres <martin.peres@free.fr> | 2015-09-09 00:34:33 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-11-03 14:57:28 +1000 |
commit | d38609fe77f897bd8485d37bd189d30b9e2ef69e (patch) | |
tree | f8808bdcea0f31563e95fcb2676f66c4e4ccebf9 /drm/nouveau/include/nvkm/subdev/bios | |
parent | 9ded822e084a5fc2b2d9b2ed636aa5fab6b9ec70 (diff) | |
download | nouveau-d38609fe77f897bd8485d37bd189d30b9e2ef69e.tar.gz |
volt/gk104: add support for pwm and gpio modes
Most Keplers actually use the GPIO-based voltage management instead of the new
PWM-based one. Use the GPIO mode as a fallback as it already gracefully handles
the case where no GPIOs exist.
All the Maxwells seem to use the PWM method though.
v2:
- Do not forget to commit the PWM configuration change!
Signed-off-by: Martin Peres <martin.peres@free.fr>
Diffstat (limited to 'drm/nouveau/include/nvkm/subdev/bios')
-rw-r--r-- | drm/nouveau/include/nvkm/subdev/bios/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/nouveau/include/nvkm/subdev/bios/gpio.h b/drm/nouveau/include/nvkm/subdev/bios/gpio.h index 33be260dd..a47d46dda 100644 --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -15,6 +15,7 @@ enum dcb_gpio_func_name { DCB_GPIO_VID5 = 0x74, DCB_GPIO_VID6 = 0x75, DCB_GPIO_VID7 = 0x76, + DCB_GPIO_VID_PWM = 0x81, }; #define DCB_GPIO_LOG_DIR 0x02 |