- useful to know sometimes Signed-off-by: Ben Skeggs <bskeggs@xxxxxxxxxx> --- drivers/gpu/drm/nouveau/include/nvif/printf.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/include/nvif/printf.h b/drivers/gpu/drm/nouveau/include/nvif/printf.h index ec524b2faeae..10d8c8c90fa7 100644 --- a/drivers/gpu/drm/nouveau/include/nvif/printf.h +++ b/drivers/gpu/drm/nouveau/include/nvif/printf.h @@ -4,10 +4,11 @@ #include <nvif/client.h> #include <nvif/parent.h> -#define NVIF_PRINT(l,o,f,a...) do { \ - struct nvif_object *_o = (o); \ - struct nvif_parent *_p = _o->parent; \ - _p->func->l(_o, "[%s/%08x:%s] "f"\n", _o->client->object.name, _o->handle, _o->name, ##a); \ +#define NVIF_PRINT(l,o,f,a...) do { \ + struct nvif_object *_o = (o); \ + struct nvif_parent *_p = _o->parent; \ + _p->func->l(_o, "[%s/%08x:%08x:%s] "f"\n", _o->client->object.name, \ + _o->handle, _o->oclass, _o->name, ##a); \ } while(0) #ifndef NVIF_DEBUG_PRINT_DISABLE -- 2.41.0