drm/nouveau/fifo/gk104-: translate engidx into human-readable name in debug output
authorBen Skeggs <bskeggs@redhat.com>
Wed, 22 Jun 2016 00:17:11 +0000 (10:17 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c

index f574b744cf66eb564e9e602c6ff99bef870d1a28..103c0afaaa6d1414169276bc7af6b672bb7bedf9 100644 (file)
@@ -616,8 +616,8 @@ gk104_fifo_oneinit(struct nvkm_fifo *base)
                        }
                }
 
-               nvkm_debug(subdev, "engine %2d: runlist %2d pbdma %2d\n",
-                          engn, runl, pbid);
+               nvkm_debug(subdev, "engine %2d: runlist %2d pbdma %2d (%s)\n",
+                          engn, runl, pbid, nvkm_subdev_name[engidx]);
 
                fifo->engine[engn].engine = nvkm_device_engine(device, engidx);
                fifo->engine[engn].runl = runl;