aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki2010-02-27 10:02:25 -0600
committerJakob Bornecrantz2010-02-27 18:25:22 -0600
commitd5a2e776826f7a849f1cf654fde8611f687eb12c (patch)
treeab039e74cb6f0922253cf3b7150a1050e021c6c1 /libkms/linux.c
parent23f62721b707672816ad3461e11c7453ff75810f (diff)
downloadexternal-libdrm-d5a2e776826f7a849f1cf654fde8611f687eb12c.tar.gz
external-libdrm-d5a2e776826f7a849f1cf654fde8611f687eb12c.tar.xz
external-libdrm-d5a2e776826f7a849f1cf654fde8611f687eb12c.zip
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)
107 else if (!strcmp(name, "vmwgfx")) 107 else if (!strcmp(name, "vmwgfx"))
108 ret = vmwgfx_create(fd, out); 108 ret = vmwgfx_create(fd, out);
109#endif 109#endif
110#ifdef HAVE_NOUVEAU
111 else if (!strcmp(name, "nouveau"))
112 ret = nouveau_create(fd, out);
113#endif
110 else 114 else
111 ret = -ENOSYS; 115 ret = -ENOSYS;
112 116