summaryrefslogtreecommitdiff
path: root/libkms/linux.c
diff options
context:
space:
mode:
authornobled <nobled@dreamwidth.org>2010-09-09 10:07:21 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-17 09:26:30 +0100
commited7d177f66885dfbc4e8410154559c4767fefa9f (patch)
tree75ebbadd1614b1908d0a1bfc95bbf9649d66585a /libkms/linux.c
parent36d4939343d8789d9066f7245fa2d4fe69119dd8 (diff)
libkms/radeon: Add backend
Todo: What tiling should be set on scanout buffers? Haven't tested besides compiling it.
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 02182d39..7449abc1 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -111,6 +111,10 @@ linux_from_sysfs(int fd, struct kms_driver **out)
else if (!strcmp(name, "nouveau"))
ret = nouveau_create(fd, out);
#endif
+#ifdef HAVE_RADEON
+ else if (!strcmp(name, "radeon"))
+ ret = radeon_create(fd, out);
+#endif
else
ret = -ENOSYS;