Commit b4c5fc4b authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fifo/gk104: submit NOP after all PBDMA_INTR_0, not just DEVICE

Prevents the same interrupt from re-triggering forever.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 4a3f63f8
...@@ -490,9 +490,10 @@ gk104_fifo_intr_pbdma_0(struct gk104_fifo *fifo, int unit) ...@@ -490,9 +490,10 @@ gk104_fifo_intr_pbdma_0(struct gk104_fifo *fifo, int unit)
if (nvkm_sw_mthd(device->sw, chid, subc, mthd, data)) if (nvkm_sw_mthd(device->sw, chid, subc, mthd, data))
show &= ~0x00800000; show &= ~0x00800000;
} }
nvkm_wr32(device, 0x0400c0 + (unit * 0x2000), 0x80600008);
} }
nvkm_wr32(device, 0x0400c0 + (unit * 0x2000), 0x80600008);
if (show) { if (show) {
nvkm_snprintbf(msg, sizeof(msg), gk104_fifo_pbdma_intr_0, show); nvkm_snprintbf(msg, sizeof(msg), gk104_fifo_pbdma_intr_0, show);
chan = nvkm_fifo_chan_chid(&fifo->base, chid, &flags); chan = nvkm_fifo_chan_chid(&fifo->base, chid, &flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment