Displaying 1 result from an estimated 1 matches for "7ee1fbb4".
2017 Nov 24
2
[PATCH] pci: do a msi rearm on init
...g a rearm once before getting any interrupts fixes this.
Signed-off-by: Karol Herbst <kherbst at redhat.com>
---
drm/nouveau/nvkm/subdev/pci/base.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/pci/base.c b/drm/nouveau/nvkm/subdev/pci/base.c
index b1b1f362..7ee1fbb4 100644
--- a/drm/nouveau/nvkm/subdev/pci/base.c
+++ b/drm/nouveau/nvkm/subdev/pci/base.c
@@ -136,6 +136,10 @@ nvkm_pci_init(struct nvkm_subdev *subdev)
return ret;
pci->irq = pdev->irq;
+ /* workaround: do a rearm once */
+ if (pci->msi)
+ pci->func->msi_rearm(pci);
+
retur...