summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_nvif.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:31 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:28:18 +1000
commit27111a23d01c1dba3180c998629004ab4c9ac985 (patch)
treeb1fadf67b3279ec5c1ca3ae901cfe360ca23160c /drivers/gpu/drm/nouveau/nouveau_nvif.c
parent771fa0e4d0c5cf6f5cfc915603e7a4a196346048 (diff)
downloadtalos-op-linux-27111a23d01c1dba3180c998629004ab4c9ac985.tar.gz
talos-op-linux-27111a23d01c1dba3180c998629004ab4c9ac985.zip
drm/nouveau: expose the full object/event interfaces to userspace
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_nvif.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_nvif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_nvif.c b/drivers/gpu/drm/nouveau/nouveau_nvif.c
index c3838bffe24f..47ca88623753 100644
--- a/drivers/gpu/drm/nouveau/nouveau_nvif.c
+++ b/drivers/gpu/drm/nouveau/nouveau_nvif.c
@@ -37,6 +37,7 @@
#include <nvif/ioctl.h>
#include "nouveau_drm.h"
+#include "nouveau_usif.h"
static void
nvkm_client_unmap(void *priv, void *ptr, u32 size)
@@ -95,6 +96,8 @@ nvkm_client_ntfy(const void *header, u32 length, const void *data, u32 size)
switch (route) {
case NVDRM_NOTIFY_NVIF:
return nvif_notify(header, length, data, size);
+ case NVDRM_NOTIFY_USIF:
+ return usif_notify(header, length, data, size);
default:
WARN_ON(1);
break;
OpenPOWER on IntegriCloud