drm/nouveau/pci: do a msi rearm on init
authorKarol Herbst <kherbst@redhat.com>
Fri, 24 Nov 2017 02:56:26 +0000 (03:56 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 19 Dec 2017 00:16:37 +0000 (10:16 +1000)
commita121027d2747168df0aac0c3da35509eea39f61c
treea97382251dadb6143f45589f804f9ced39d7cfca
parent81a24b9ae8eea95b74337c253059da761043ed06
drm/nouveau/pci: do a msi rearm on init

On my GP107 when I load nouveau after unloading it, for some reason the
GPU stopped sending or the CPU stopped receiving interrupts if MSI was
enabled.

Doing a rearm once before getting any interrupts fixes this.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c