drm/nouveau/kms/gv100-: avoid sending a core update until the first modeset
authorBen Skeggs <bskeggs@redhat.com>
Mon, 3 Feb 2020 08:37:07 +0000 (03:37 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 3 Feb 2020 11:36:54 +0000 (21:36 +1000)
commit137c4ba7163ad9d5696b9fde78b1c0898a9c115b
treef974f7851fa5a574a7255f5cc00da5d458f809f2
parent5bb88d07948b6779cb783ec0f08b4c1474d592dd
drm/nouveau/kms/gv100-: avoid sending a core update until the first modeset

The OR routing logic in NVKM does not expect to receive supervisor
interrupts until the DD has provided consistent information on the
ORs it's using and the EVO/NVD assembly state to match.

The combination of changing window ownership + core channel update
during display init triggered a situation where we'd disconnect an
OR from the pad it was meant to still be driving on some systems.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/corec37d.c
drivers/gpu/drm/nouveau/dispnv50/corec57d.c