提交 cfc2f263 编写于 作者: B Ben Skeggs

drm/nouveau/mc: msi rearm write via subdev, not device

This way we can catch it with debugging on for PMC subdev.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 dd5b84ac
......@@ -47,7 +47,7 @@ nouveau_mc_intr(int irq, void *arg)
}
if (pmc->use_msi)
nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
nv_wr08(pmc, 0x088068, 0xff);
if (intr) {
nv_error(pmc, "unknown intr 0x%08x\n", stat);
......@@ -115,7 +115,7 @@ nouveau_mc_create_(struct nouveau_object *parent, struct nouveau_object *engine,
pmc->use_msi = pci_enable_msi(device->pdev) == 0;
if (pmc->use_msi) {
nv_info(pmc, "MSI interrupts enabled\n");
nv_wr08(device, 0x00088068, 0xff);
nv_wr08(pmc, 0x088068, 0xff);
}
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册