Browse Source

drm/nouveau/ltc/gm107: fix slice intr offset

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Ben Skeggs 9 years ago
parent
commit
96aedd0ba9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c

+ 1 - 1
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c

@@ -73,7 +73,7 @@ gm107_ltc_lts_isr(struct nvkm_ltc *ltc, int c, int s)
 {
 {
 	struct nvkm_subdev *subdev = &ltc->subdev;
 	struct nvkm_subdev *subdev = &ltc->subdev;
 	struct nvkm_device *device = subdev->device;
 	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);
 	u32 stat = nvkm_rd32(device, base + 0x00c);
 
 
 	if (stat) {
 	if (stat) {