]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit561b8645acb87cafb22bdb86841ce33acc07bf1c
treef974f7851fa5a574a7255f5cc00da5d458f809f2
parentff9ad6214456335a14974612cdb0e5aca529fe9f
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