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

[PATCH radeon] Only enable KMS on x86.



At least on powerpc, KMS in squeeze means no backlight control and no
suspend/resume, so delay this to wheezy.

---
Thoughts?  (IIRC Michel suggested doing this a while back, I didn't get
to it before now...)

 debian/changelog |    7 +++++++
 debian/rules     |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e397f1b..81bc38d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-video-ati (1:6.13.1-3) UNRELEASED; urgency=low
+
+  * Only enable KMS on x86.  At least on powerpc, KMS in squeeze means no
+    backlight control and no suspend/resume, so delay this to wheezy.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 04 Nov 2010 12:19:30 +0100
+
 xserver-xorg-video-ati (1:6.13.1-2) unstable; urgency=low
 
   * Make libudev-dev build dependencies linux-any.
diff --git a/debian/rules b/debian/rules
index 8815ada..1604ca7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -90,9 +90,11 @@ binary-arch: build install serverabi-ati serverabi-radeon
 	dh_installchangelogs ChangeLog
 	dh_install --sourcedir=debian/tmp --list-missing --exclude=.la --exclude=usr/share/man/man4
 ifeq ($(DEB_HOST_ARCH_OS), linux)
+ifneq (, $(filter $(DEB_HOST_ARCH), i386 amd64))
 	install -d -m 755 debian/xserver-xorg-video-radeon/etc/modprobe.d/
 	install -m 644 debian/radeon-kms.conf debian/xserver-xorg-video-radeon/etc/modprobe.d/
 endif
+endif
 	dh_installman
 	dh_link
 	dh_strip -pxserver-xorg-video-ati --dbg-package=xserver-xorg-video-ati-dbg
-- 
1.7.2.3


Reply to: