Loading drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c +3 −3 Original line number Diff line number Diff line Loading @@ -69,11 +69,11 @@ gm107_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) } static void gm107_ltc_lts_isr(struct nvkm_ltc *ltc, int c, int s) gm107_ltc_intr_lts(struct nvkm_ltc *ltc, int c, int s) { struct nvkm_subdev *subdev = <c->subdev; struct nvkm_device *device = subdev->device; u32 base = 0x140000 + (c * 0x2000) + (s * 0x200); u32 base = 0x140400 + (c * 0x2000) + (s * 0x200); u32 stat = nvkm_rd32(device, base + 0x00c); if (stat) { Loading @@ -92,7 +92,7 @@ gm107_ltc_intr(struct nvkm_ltc *ltc) while (mask) { u32 s, c = __ffs(mask); for (s = 0; s < ltc->lts_nr; s++) gm107_ltc_lts_isr(ltc, c, s); gm107_ltc_intr_lts(ltc, c, s); mask &= ~(1 << c); } } Loading drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ static const struct nvkm_ltc_func gm200_ltc = { .oneinit = gm200_ltc_oneinit, .init = gm200_ltc_init, .intr = gm107_ltc_intr, /*XXX: not validated */ .intr = gm107_ltc_intr, .cbc_clear = gm107_ltc_cbc_clear, .cbc_wait = gm107_ltc_cbc_wait, .zbc = 16, Loading Loading
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c +3 −3 Original line number Diff line number Diff line Loading @@ -69,11 +69,11 @@ gm107_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) } static void gm107_ltc_lts_isr(struct nvkm_ltc *ltc, int c, int s) gm107_ltc_intr_lts(struct nvkm_ltc *ltc, int c, int s) { struct nvkm_subdev *subdev = <c->subdev; struct nvkm_device *device = subdev->device; u32 base = 0x140000 + (c * 0x2000) + (s * 0x200); u32 base = 0x140400 + (c * 0x2000) + (s * 0x200); u32 stat = nvkm_rd32(device, base + 0x00c); if (stat) { Loading @@ -92,7 +92,7 @@ gm107_ltc_intr(struct nvkm_ltc *ltc) while (mask) { u32 s, c = __ffs(mask); for (s = 0; s < ltc->lts_nr; s++) gm107_ltc_lts_isr(ltc, c, s); gm107_ltc_intr_lts(ltc, c, s); mask &= ~(1 << c); } } Loading
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ static const struct nvkm_ltc_func gm200_ltc = { .oneinit = gm200_ltc_oneinit, .init = gm200_ltc_init, .intr = gm107_ltc_intr, /*XXX: not validated */ .intr = gm107_ltc_intr, .cbc_clear = gm107_ltc_cbc_clear, .cbc_wait = gm107_ltc_cbc_wait, .zbc = 16, Loading