drm/nouveau/gr/gf100-: fix ccache error logging
authorBen Skeggs <bskeggs@redhat.com>
Thu, 22 Dec 2016 00:07:49 +0000 (10:07 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:32 +0000 (15:14 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c

index c0c25cf5404befd349151388ee39430276d748e8..88aa0b7385d9ed0010c5cc48c31cd396efa82b92 100644 (file)
@@ -1136,7 +1136,7 @@ gf100_gr_trap_intr(struct gf100_gr *gr)
        if (trap & 0x00000008) {
                u32 stat = nvkm_rd32(device, 0x408030);
 
-               nvkm_snprintbf(error, sizeof(error), gf100_m2mf_error,
+               nvkm_snprintbf(error, sizeof(error), gf100_ccache_error,
                               stat & 0x3fffffff);
                nvkm_error(subdev, "CCACHE %08x [%s]\n", stat, error);
                nvkm_wr32(device, 0x408030, 0xc0000000);