Commit 96aedd0b authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a6a0f67c
...@@ -73,7 +73,7 @@ gm107_ltc_lts_isr(struct nvkm_ltc *ltc, int c, int s) ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment