Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48dac935 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ec884f74
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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) {