drm/nouveau/gpio: check function 76 in the power check as well
authorMark Menzynski <mmenzyns@redhat.com>
Thu, 18 Jul 2019 08:07:41 +0000 (10:07 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:34 +0000 (12:55 +1000)
commit3c978f73959c295ac737b917795926534a7aea01
tree48021cb0b45cbc8705176636b59e446d0227a8c2
parent940794b3dd343ba86a4c50f7e6db285c0a9c8776
drm/nouveau/gpio: check function 76 in the power check as well

Added GPIO is "Power Alert". It's uncertain if this
GPIO is set on GPU initialization or only if a change is detected by the
GPU at runtime.

This GPIO can be found on Tesla and sometimes on Fermi GPUs.

Untested, wrote according to documentation.

Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c