[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732337: [PATCH] enable Radeon KMS



Package: mesa
Version: 9.2.2-1
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

kFreeBSD supports Radeon KMS now. Please could you enable the associated
libGL plugins?

Patch attached.

Thanks!

-- 
Robert Millan
--- debian.old/rules	2013-12-16 13:14:47.000000000 +0100
+++ debian/rules	2013-12-16 22:05:52.624887177 +0100
@@ -61,9 +61,11 @@
 else
 	EGL_DISPLAYS = x11
 
+	GALLIUM_DRIVERS += r600 r300
+
   ifeq ($(DEB_HOST_ARCH_OS), linux)
 # Gallium drivers require libdrm-{nouveau,radeon}, only available on Linux
-	GALLIUM_DRIVERS += nouveau r600 r300 svga
+	GALLIUM_DRIVERS += nouveau svga
 #
 # Although the KMS egl drivers will probably build on kfreebsd & hurd
 # only linux actually has KMS drivers implemented at this point.
@@ -71,7 +73,12 @@
 # Non-Linux ports also lack *_CLOEXEC and epoll, so wayland isn't ready yet:
 	EGL_DISPLAYS += wayland
     ifeq (,$(filter $(DEB_HOST_ARCH), s390 s390x))
-	DRI_DRIVERS += r200 radeon nouveau
+	DRI_DRIVERS += nouveau
+    endif
+  endif
+
+    ifeq (,$(filter $(DEB_HOST_ARCH), s390 s390x))
+	DRI_DRIVERS += r200 radeon
     endif
     ifneq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 i386))
 	# Radeonsi needs LLVM, so only build it on the subset of archs
@@ -80,8 +87,6 @@
     else
 	EXTRA_SED="-e/libllvmradeon/ s/^/\#/"
     endif
-  endif
-
 
 # Build the llvmpipe driver only on amd64, i386 until it's tested elsewhere
   ifeq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 i386))

Reply to: