summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif
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/nvif
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/nvif')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/client.c1
-rw-r--r--drivers/gpu/drm/nouveau/nvif/driver.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c
index 20fb38688b93..3c4df1fc26dc 100644
--- a/drivers/gpu/drm/nouveau/nvif/client.c
+++ b/drivers/gpu/drm/nouveau/nvif/client.c
@@ -60,6 +60,7 @@ nvif_drivers[] = {
#ifdef __KERNEL__
&nvif_driver_nvkm,
#else
+ &nvif_driver_drm,
&nvif_driver_lib,
#endif
NULL
diff --git a/drivers/gpu/drm/nouveau/nvif/driver.h b/drivers/gpu/drm/nouveau/nvif/driver.h
index ea5b1b880fb6..b72a8f0c2758 100644
--- a/drivers/gpu/drm/nouveau/nvif/driver.h
+++ b/drivers/gpu/drm/nouveau/nvif/driver.h
@@ -15,6 +15,7 @@ struct nvif_driver {
};
extern const struct nvif_driver nvif_driver_nvkm;
+extern const struct nvif_driver nvif_driver_drm;
extern const struct nvif_driver nvif_driver_lib;
#endif
OpenPOWER on IntegriCloud