drm/nouveau/ltc/gm107: fix slice intr offset
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 Feb 2016 02:23:03 +0000 (12:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:16 +0000 (10:13 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c

index 47c4e715370fab5398557a3f38748b6372b23951..e292f5679418ccfdf23e53e9dbbec7b92b231539 100644 (file)
@@ -73,7 +73,7 @@ gm107_ltc_lts_isr(struct nvkm_ltc *ltc, int c, int s)
 {
        struct nvkm_subdev *subdev = &ltc->subdev;
        struct nvkm_device *device = subdev->device;
-       u32 base = 0x140000 + (c * 0x2000) + (s * 0x400);
+       u32 base = 0x140000 + (c * 0x2000) + (s * 0x200);
        u32 stat = nvkm_rd32(device, base + 0x00c);
 
        if (stat) {