From ed7d177f66885dfbc4e8410154559c4767fefa9f Mon Sep 17 00:00:00 2001 From: nobled Date: Thu, 9 Sep 2010 10:07:21 +0100 Subject: libkms/radeon: Add backend Todo: What tiling should be set on scanout buffers? Haven't tested besides compiling it. --- libkms/linux.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libkms/linux.c') diff --git a/libkms/linux.c b/libkms/linux.c index 02182d39..7449abc1 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -110,6 +110,10 @@ linux_from_sysfs(int fd, struct kms_driver **out) #ifdef HAVE_NOUVEAU 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; -- cgit v1.2.3