diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:31 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:28:18 +1000 |
commit | 27111a23d01c1dba3180c998629004ab4c9ac985 (patch) | |
tree | b1fadf67b3279ec5c1ca3ae901cfe360ca23160c /drivers/gpu/drm/nouveau/nouveau_nvif.c | |
parent | 771fa0e4d0c5cf6f5cfc915603e7a4a196346048 (diff) | |
download | op-kernel-dev-27111a23d01c1dba3180c998629004ab4c9ac985.zip op-kernel-dev-27111a23d01c1dba3180c998629004ab4c9ac985.tar.gz |
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.c | 3 |
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 c3838bf..47ca886 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; |