]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp: modify OR allocation policy to account for HDA requirements
authorBen Skeggs <bskeggs@redhat.com>
Wed, 3 Jun 2020 01:43:23 +0000 (11:43 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 4 Jun 2020 04:23:21 +0000 (14:23 +1000)
commit05b69a09f0cd2fdd34b851b84b15d37311a5f30e
tree35ad51cd57535d72c8b69b64040f01f79a0c4187
parent0a7bf7652289e36cfcdc67d7d336fc9bb4934b3d
drm/nouveau/disp: modify OR allocation policy to account for HDA requirements

Since GM200, SORs are no longer tied to a specific connector, and we
allocate them instead, with the assumption that all SORs are equally
capable.

However, there's a 1<->1 mapping between SOR and HDA pin widget, and
it turns out that it's possible for some widgets to be disabled...

In order to avoid picking a SOR without a valid pin widget, some new
rules need to be added.

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