From: Marcin Slusarz Date: Sun, 13 Feb 2011 19:46:41 +0000 (+0100) Subject: drm/nv50: fix typos in CCACHE error reporting X-Git-Tag: upstream/snapshot3+hdmi~10707^2~40^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dcf905c843af9de623da42c3b5b12b98c68e62b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm/nv50: fix typos in CCACHE error reporting The code was supposed to print registers around 0x405018 (which is read earlier), not 0x405818. Signed-off-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c b/drivers/gpu/drm/nouveau/nv50_graph.c index 7b7b5e7..289c0dd 100644 --- a/drivers/gpu/drm/nouveau/nv50_graph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c @@ -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)); }