drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
authorBen Skeggs <bskeggs@redhat.com>
Fri, 3 May 2019 02:23:55 +0000 (12:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 May 2019 06:58:05 +0000 (16:58 +1000)
commitd2434e4d942c32cadcbdbcd32c58f35098f3b604
treedb2523ef61d30eb8bc6944ba2275bef41d951c18
parent30df16b93b25fe345e4c5d4e9c789d3f4f337b72
drm/nouveau/kms/gv100-: fix spurious window immediate interlocks

Cursor position updates were accidentally causing us to attempt to interlock
window with window immediate, and without a matching window immediate update,
NVDisplay could hang forever in some circumstances.

Fixes suspend/resume on (at least) Quadro RTX4000 (TU104).

Reported-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.h
drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c
drivers/gpu/drm/nouveau/dispnv50/wndw.c