summaryrefslogtreecommitdiff
path: root/nvkm/include/core
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 04:43:28 +1000
commitb7c81f0355379b9d0fcdf624a8df1b7119f28efc (patch)
tree21c37810cbdc088158e06ee75ee303a4af99d0f2 /nvkm/include/core
parentc0368d5441d90c6a2ac0583d7d2144c6d6baab8c (diff)
downloadnouveau-b7c81f0355379b9d0fcdf624a8df1b7119f28efc.tar.gz
nvif: import library functions for the ioctl/event interfaces
This is a wrapper around the interfaces defined in an earlier commit, and is also used by various userspace (either by a libdrm backend, or libpciaccess) tools/tests. In the future this will be extended to handle channels, replacing some long-unloved code we currently use, and allow fifo/display/mpeg (hi Ilia ;)) engines to all be exposed in the same way. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/include/core')
-rw-r--r--nvkm/include/core/class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nvkm/include/core/class.h b/nvkm/include/core/class.h
index d6fd2cbe4..37d47cb44 100644
--- a/nvkm/include/core/class.h
+++ b/nvkm/include/core/class.h
@@ -1,6 +1,8 @@
#ifndef __NOUVEAU_CLASS_H__
#define __NOUVEAU_CLASS_H__
+#include <nvif/class.h>
+
/* Device class
*
* 0080: NV_DEVICE