drm/nouveau/disp/gm200-: detect and potentially disable HDA support on some SORs
authorBen Skeggs <bskeggs@redhat.com>
Wed, 3 Jun 2020 02:51:03 +0000 (12:51 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 4 Jun 2020 04:23:21 +0000 (14:23 +1000)
commit9b5ca547bb8fc26c251d457ac55cc8e3d9baa6bf
tree272bf5f1a5503483783e4735719c1eb8ac55672b
parent9f9f54e887adef3dc9b62f372002c421ef4f1921
drm/nouveau/disp/gm200-: detect and potentially disable HDA support on some SORs

Some HDA pin widgets may be disabled by BIOS, and unavailable from a
SOR.  Our SOR allocation policy uses this information to allocate an
appropriate SOR when HDA is supported by a display.

Thank you to NVIDIA for providing the information to determine this.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c