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 f574b74..103c0af 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;