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/nv10.c | |
parent | drm/nouveau: prepare for reporting channel owner (diff) | |
download | linux-dev-93260d3c026b539931d909a4d68490c32b6d73ce.tar.xz linux-dev-93260d3c026b539931d909a4d68490c32b6d73ce.zip |
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/nv10.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/nv10.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nv10.c b/drivers/gpu/drm/nouveau/core/engine/graph/nv10.c index deea80fb031a..e5afc8ff47d4 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nv10.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nv10.c @@ -22,6 +22,7 @@ * DEALINGS IN THE SOFTWARE. */ +#include <core/client.h> #include <core/os.h> #include <core/class.h> #include <core/handle.h> @@ -1200,9 +1201,10 @@ nv10_graph_intr(struct nouveau_subdev *subdev) pr_cont(" nstatus:"); nouveau_bitfield_print(nv10_graph_nstatus, nstatus); pr_cont("\n"); - nv_error(priv, "ch %d/%d class 0x%04x " - "mthd 0x%04x data 0x%08x\n", - chid, subc, class, mthd, data); + nv_error(priv, + "ch %d [%s] subc %d class 0x%04x mthd 0x%04x data 0x%08x\n", + chid, nouveau_client_name(chan), subc, class, mthd, + data); } nouveau_namedb_put(handle); |