drm/nouveau/kms/nv50-: clear SW state of disabled windows harder
authorBen Skeggs <bskeggs@redhat.com>
Thu, 4 Jun 2020 01:00:01 +0000 (11:00 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 4 Jun 2020 04:23:22 +0000 (14:23 +1000)
commitdd67cab5db7e940dad66653a04d780d53bd380d5
tree562f6e9e4ea5f450e721a5e3aa9572920af796ac
parent21454fe697fde188ad6fb541f94b9838fa73ab38
drm/nouveau/kms/nv50-: clear SW state of disabled windows harder

The most innocuous result of not having done this is that we end up
sending unnecessary methods when we next enable the window.

However, interactions with the code handling skipping disables when
an update immediately follows, and window ownership assignment, can
lead to upsetting the display hardware on Volta and newer.

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