xserver-xorg-video-savage: Changes to 'debian-unstable'
debian/changelog | 11 +++++++++++
debian/patches/03_request_16bit_depth.diff | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
New commits:
commit 8461f00b2320409eb4536392dd935b4a9e61087a
Author: David Nusinow <dnusinow@debian.org>
Date: Thu Nov 22 00:06:38 2007 -0500
* Add 03_request_16bit_depth.diff
We set the default depth for savage chips to 16bpp in the xserver
debconfage. This patch has the driver request that depth from the
server during init. If the user doesn't override this depth, it should be
used by the server, thus allowing us to drop this special case from the
debconfage.
diff --git a/debian/changelog b/debian/changelog
index da87678..6ffc707 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+xserver-xorg-video-savage (1:2.1.3-6) UNRELEASED; urgency=low
+
+ * Add 03_request_16bit_depth.diff
+ We set the default depth for savage chips to 16bpp in the xserver
+ debconfage. This patch has the driver request that depth from the
+ server during init. If the user doesn't override this depth, it should be
+ used by the server, thus allowing us to drop this special case from the
+ debconfage.
+
+ -- David Nusinow <dnusinow@debian.org> Thu, 22 Nov 2007 00:06:24 -0500
+
xserver-xorg-video-savage (1:2.1.3-5) unstable; urgency=low
* Add 02_temporary_revert_pciaccess.diff to temporary revert
diff --git a/debian/patches/03_request_16bit_depth.diff b/debian/patches/03_request_16bit_depth.diff
new file mode 100644
index 0000000..fd4e800
--- /dev/null
+++ b/debian/patches/03_request_16bit_depth.diff
@@ -0,0 +1,13 @@
+Index: xserver-xorg-video-savage/src/savage_driver.c
+===================================================================
+--- xserver-xorg-video-savage.orig/src/savage_driver.c 2007-11-22 00:00:18.000000000 -0500
++++ xserver-xorg-video-savage/src/savage_driver.c 2007-11-22 00:02:21.000000000 -0500
+@@ -1118,7 +1118,7 @@
+ * We support bpp of 8, 16, and 32.
+ */
+
+- if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support32bppFb))
++ if (!xf86SetDepthBpp(pScrn, 16, 0, 0, Support32bppFb))
+ return FALSE;
+ else {
+ int requiredBpp;
diff --git a/debian/patches/series b/debian/patches/series
index 717f91f..41b0919 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01_gen_pci_ids.diff
02_temporary_revert_pciaccess.diff
+03_request_16bit_depth.diff
Reply to: