drm/nouveau/disp/gv100-: halt NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_ERROR storms

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2020-02-03 01:58:45 -05:00
parent c3463aed05
commit 58ae5284f6

View File

@ -155,6 +155,12 @@ gv100_disp_intr_ctrl_disp(struct nv50_disp *disp)
if (stat & 0x00000008)
stat &= ~0x00000008;
if (stat & 0x00000080) {
u32 error = nvkm_mask(device, 0x611848, 0x00000000, 0x00000000);
nvkm_warn(subdev, "error %08x\n", error);
stat &= ~0x00000080;
}
if (stat & 0x00000100) {
unsigned long wndws = nvkm_rd32(device, 0x611858);
unsigned long other = nvkm_rd32(device, 0x61185c);