summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-10-30 09:27:13 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-12-22 13:21:05 +1000
commitd1ec093e4c5b08c3825fe07e287aa3d023e9c9ae (patch)
tree95a925dd6c1876fd9b0ba942ed83be31904badc1 /include
parent0cfb6a39864c3ebc7802107a8e4ddac67195d4cd (diff)
downloadlibdrm-d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae.tar.gz
libdrm-d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae.tar.bz2
libdrm-d1ec093e4c5b08c3825fe07e287aa3d023e9c9ae.zip
nouveau: import and install a selection of nvif headers from the kernel
This commit also modifies the install path of the main libdrm_nouveau header to be under a nouveau/ subdirectory. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/nouveau_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/nouveau_drm.h b/include/drm/nouveau_drm.h
index 87aefc5e..e418f9f3 100644
--- a/include/drm/nouveau_drm.h
+++ b/include/drm/nouveau_drm.h
@@ -200,6 +200,7 @@ struct drm_nouveau_sarea {
#define DRM_NOUVEAU_GROBJ_ALLOC 0x04
#define DRM_NOUVEAU_NOTIFIEROBJ_ALLOC 0x05
#define DRM_NOUVEAU_GPUOBJ_FREE 0x06
+#define DRM_NOUVEAU_NVIF 0x07
#define DRM_NOUVEAU_GEM_NEW 0x40
#define DRM_NOUVEAU_GEM_PUSHBUF 0x41
#define DRM_NOUVEAU_GEM_CPU_PREP 0x42