diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-29 20:49:15 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:50:51 +1000 |
commit | 3e176fd0600439a8a1e0b3e95e2f0545660ab59c (patch) | |
tree | 09f118ba1a59e116f3f79d359e3e9da88fa506d0 /drivers/gpu/drm/nouveau/nvif/object.c | |
parent | f7a7d22ad6781a34ffc718865700883d3cbf6c06 (diff) | |
download | lwn-3e176fd0600439a8a1e0b3e95e2f0545660ab59c.tar.gz lwn-3e176fd0600439a8a1e0b3e95e2f0545660ab59c.zip |
drm/nouveau/nvif: add support for object-level debug output
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvif/object.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/object.c b/drivers/gpu/drm/nouveau/nvif/object.c index 9f3348327244..671a5c0199e0 100644 --- a/drivers/gpu/drm/nouveau/nvif/object.c +++ b/drivers/gpu/drm/nouveau/nvif/object.c @@ -282,6 +282,8 @@ nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle, return -ENOMEM; } + object->parent = parent->parent; + args->ioctl.version = 0; args->ioctl.type = NVIF_IOCTL_V0_NEW; args->new.version = 0; |