drm/nv50: fix typos in CCACHE error reporting
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 13 Feb 2011 19:46:41 +0000 (20:46 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:45:23 +0000 (06:45 +1000)
The code was supposed to print registers around 0x405018 (which is read
earlier), not 0x405818.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_graph.c

index 7b7b5e77d99e151be6b926d54a672df31bd1d290..289c0dd6c53db10d8a27a4bacdf28d47d85b8a38 100644 (file)
@@ -907,10 +907,10 @@ nv50_pgraph_trap_handler(struct drm_device *dev, u32 display, u64 inst, u32 chid
                        printk("\n");
                        NV_INFO(dev, "PGRAPH - TRAP_CCACHE %08x %08x %08x %08x"
                                     " %08x %08x %08x\n",
-                               nv_rd32(dev, 0x405800), nv_rd32(dev, 0x405804),
-                               nv_rd32(dev, 0x405808), nv_rd32(dev, 0x40580c),
-                               nv_rd32(dev, 0x405810), nv_rd32(dev, 0x405814),
-                               nv_rd32(dev, 0x40581c));
+                               nv_rd32(dev, 0x405000), nv_rd32(dev, 0x405004),
+                               nv_rd32(dev, 0x405008), nv_rd32(dev, 0x40500c),
+                               nv_rd32(dev, 0x405010), nv_rd32(dev, 0x405014),
+                               nv_rd32(dev, 0x40501c));
 
                }