From: Ben Skeggs Date: Wed, 22 Jun 2016 00:17:11 +0000 (+1000) Subject: drm/nouveau/fifo/gk104-: translate engidx into human-readable name in debug output X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1fe8c02fbcc0a3310a7790a3b694cb5105a7302f;p=linux-beck.git drm/nouveau/fifo/gk104-: translate engidx into human-readable name in debug output Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c index f574b744cf66..103c0afaaa6d 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c @@ -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;