r2452 - in trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian: . patches patches/series

Sven Luther luther@costa.debian.org
Mon, 07 Feb 2005 14:11:13 +0100


Author: luther
Date: 2005-02-07 14:11:10 +0100 (Mon, 07 Feb 2005)
New Revision: 2452

Added:
   trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/fbdev-radeon-noaccel.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/changelog
   trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/series/2.6.10-5
Log:
Enhance the FBIOGET_FSCREENINFO ioctl, used by lcd_hack tool by BenH.


Modified: trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/changelog	2005-02-07 11:08:19 UTC (rev 2451)
+++ trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/changelog	2005-02-07 13:11:10 UTC (rev 2452)
@@ -19,11 +19,15 @@
 
   * amd64-parse-noexec-fix.dpatch
     Backport fix for noexec boot option parsing.
-    amd64-int3-fix.dpatch 
+    amd64-int3-fix.dpatch
     Revert int3 handling. (Frederik Schüler)
 
- -- Frederik Schüler <fschueler@gmx.net>  Mon,  7 Feb 2005 11:45:55 +0100
+  * fbdev-radeon-noaccel.dpatch
+    Patch to enhance the FBIOGET_FSCREENINFO ioctl, used by lcd_hack tool by
+    BenH. (Sven Luther)
 
+ -- Sven Luther <luther@debian.org>  Mon,  7 Feb 2005 14:09:05 +0100
+
 kernel-source-2.6.10 (2.6.10-4) unstable; urgency=low
 
   * Replace smbfs-overflow-fixes.patch with a newer version from 2.6.10-ac

Added: trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/fbdev-radeon-noaccel.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/fbdev-radeon-noaccel.dpatch	2005-02-07 11:08:19 UTC (rev 2451)
+++ trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/fbdev-radeon-noaccel.dpatch	2005-02-07 13:11:10 UTC (rev 2452)
@@ -0,0 +1,29 @@
+#! /bin/sh -e
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Description: The patch below enhances the FBIOGET_FSCREENINFO ioctl.
+## DP: Description: It is used by the lcd_hack tool that Ben H wrote. Before
+## DP: Description: this fix accel is set to 0 and lcd_hack aborts. With it,
+## DP: Description: the tool works again.
+## DP: Patch author: Martin Habets <errandir_news@mph.eclipse.co.uk>
+## DP: Upstream status: approved by benh, no idea about upstream status
+
+. $(dirname $0)/DPATCH
+
+@DPATCH@
+--- kernel-source-2.6.10/drivers/video/aty/radeon_base.c.orig	2005-02-07 14:03:53.987985344 +0100
++++ kernel-source-2.6.10/drivers/video/aty/radeon_base.c	2005-02-07 14:04:47.152903048 +0100
+@@ -1778,8 +1778,12 @@
+ 
+ 	fb_alloc_cmap(&info->cmap, 256, 0);
+ 
+-	if (noaccel)
++	if (noaccel) {
+ 		info->flags |= FBINFO_HWACCEL_DISABLED;
++		info->fix.accel = FB_ACCEL_NONE;
++	} else {
++		info->fix.accel = FB_ACCEL_ATI_RADEON;
++	}
+ 
+         return 0;
+ }

Modified: trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/series/2.6.10-5
===================================================================
--- trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/series/2.6.10-5	2005-02-07 11:08:19 UTC (rev 2451)
+++ trunk/kernel/source/kernel-source-2.6.10-2.6.10/debian/patches/series/2.6.10-5	2005-02-07 13:11:10 UTC (rev 2452)
@@ -5,3 +5,4 @@
 + powerpc-fix-power3-ftbfs.dpatch
 + amd64-parse-noexec-fix.dpatch
 + amd64-int3-fix.dpatch
++ fbdev-radeon-noaccel.dpatch