diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-12-09 23:00:34 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-02-20 16:00:33 +1000 |
commit | 93260d3c026b539931d909a4d68490c32b6d73ce (patch) | |
tree | 03a99e39eb5c69677f9d10c5111063140444bc18 /drivers/gpu/drm/nouveau/core/engine/graph/nv40.c | |
parent | a2896cede08ddeed4f2c4fca616943a63dff5fa8 (diff) | |
download | op-kernel-dev-93260d3c026b539931d909a4d68490c32b6d73ce.zip op-kernel-dev-93260d3c026b539931d909a4d68490c32b6d73ce.tar.gz |
drm/nouveau: report channel owner in error messages
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/nv40.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/nv40.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nv40.c b/drivers/gpu/drm/nouveau/core/engine/graph/nv40.c index 961a073..81f0f5d 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nv40.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nv40.c @@ -22,6 +22,7 @@ * Authors: Ben Skeggs */ +#include <core/client.h> #include <core/os.h> #include <core/class.h> #include <core/handle.h> @@ -328,9 +329,10 @@ nv40_graph_intr(struct nouveau_subdev *subdev) pr_cont(" nstatus:"); nouveau_bitfield_print(nv10_graph_nstatus, nstatus); pr_cont("\n"); - nv_error(priv, "ch %d [0x%08x] subc %d class 0x%04x " - "mthd 0x%04x data 0x%08x\n", - chid, inst << 4, subc, class, mthd, data); + nv_error(priv, + "ch %d [0x%08x %s] subc %d class 0x%04x mthd 0x%04x data 0x%08x\n", + chid, inst << 4, nouveau_client_name(engctx), subc, + class, mthd, data); } nouveau_engctx_put(engctx); |