drm/nouveau/gr/gf100-: properly ack all FECS error interrupts

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2016-12-09 18:02:17 +10:00
parent ec884f74f1
commit 48dac93506
1 changed files with 2 additions and 3 deletions

View File

@ -1270,12 +1270,11 @@ gf100_gr_ctxctl_isr(struct gf100_gr *gr)
nvkm_error(subdev, "FECS MTHD subc %d class %04x "
"mthd %04x data %08x\n",
subc, class, mthd, data);
nvkm_wr32(device, 0x409c20, 0x00000001);
stat &= ~0x00000001;
} else {
nvkm_error(subdev, "FECS ucode error %d\n", code);
}
nvkm_wr32(device, 0x409c20, 0x00000001);
stat &= ~0x00000001;
}
if (stat & 0x00080000) {