summaryrefslogtreecommitdiff
path: root/libkms/linux.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2010-02-27 16:02:25 +0000
committerJakob Bornecrantz <jakob@vmware.com>2010-02-28 00:25:22 +0000
commitd5a2e776826f7a849f1cf654fde8611f687eb12c (patch)
treeab039e74cb6f0922253cf3b7150a1050e021c6c1 /libkms/linux.c
parent23f62721b707672816ad3461e11c7453ff75810f (diff)
libkms/nouveau: Add support
Diffstat (limited to 'libkms/linux.c')
-rw-r--r--libkms/linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms/linux.c b/libkms/linux.c
index 94e1b526..02182d39 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -107,6 +107,10 @@ linux_from_sysfs(int fd, struct kms_driver **out)
else if (!strcmp(name, "vmwgfx"))
ret = vmwgfx_create(fd, out);
#endif
+#ifdef HAVE_NOUVEAU
+ else if (!strcmp(name, "nouveau"))
+ ret = nouveau_create(fd, out);
+#endif
else
ret = -ENOSYS;