summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-06-29 20:49:15 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 18:50:51 +1000
commit3e176fd0600439a8a1e0b3e95e2f0545660ab59c (patch)
tree09f118ba1a59e116f3f79d359e3e9da88fa506d0 /drivers/gpu/drm/nouveau/nouveau_drv.h
parentf7a7d22ad6781a34ffc718865700883d3cbf6c06 (diff)
downloadlwn-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/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 2a6519737800..30c0bb5b4dc9 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -132,8 +132,10 @@ nouveau_cli(struct drm_file *fpriv)
}
#include <nvif/object.h>
+#include <nvif/parent.h>
struct nouveau_drm {
+ struct nvif_parent parent;
struct nouveau_cli master;
struct nouveau_cli client;
struct drm_device *dev;