* Norbert Tretkowski wrote:
> A workaround was posted on the kernel-mailinglist a while ago:
> 
> http://lkml.org/lkml/2005/12/11/26

This patch works fine here, so I prepared a NMU (patch attached). The
package is available here:
http://people.debian.org/~nobse/fglrx-driver/

Norbert
diff -Nur fglrx-driver.orig/fglrx-driver-8.20.8/debian/changelog 
fglrx-driver/fglrx-driver-8.20.8/debian/changelog
--- fglrx-driver.orig/fglrx-driver-8.20.8/debian/changelog      2006-01-06 
20:08:16.000000000 +0100
+++ fglrx-driver/fglrx-driver-8.20.8/debian/changelog   2006-01-06 
20:33:48.000000000 +0100
@@ -1,3 +1,11 @@
+fglrx-driver (8.20.8-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added patch from http://lkml.org/lkml/2005/12/11/26 to get the driver
+    working with recent kernels. (closes: #345040)
+
+ -- Norbert Tretkowski <[EMAIL PROTECTED]>  Fri,  6 Jan 2006 20:29:35 +0100
+
 fglrx-driver (8.20.8-1) unstable; urgency=low
 
   * New upstream version. Highlights from the release notes:
diff -Nur fglrx-driver.orig/fglrx-driver-8.20.8/debian/patches/03-getpage.diff 
fglrx-driver/fglrx-driver-8.20.8/debian/patches/03-getpage.diff
--- fglrx-driver.orig/fglrx-driver-8.20.8/debian/patches/03-getpage.diff        
1970-01-01 01:00:00.000000000 +0100
+++ fglrx-driver/fglrx-driver-8.20.8/debian/patches/03-getpage.diff     
2006-01-06 20:33:48.000000000 +0100
@@ -0,0 +1,11 @@
+--- firegl_public.c~   2005-12-07 18:03:53.000000000 +0100
++++ firegl_public.c    2006-01-06 20:28:12.000000000 +0100
+@@ -2621,7 +2621,7 @@
+ 
+     pMmPage = virt_to_page(kaddr);
+ 
+-#if 0
++#if LINUX_VERSION_CODE >= 0x02060f
+     // WARNING WARNINIG WARNNING WARNNING WARNNING WARNNING WARNNING WARNNING
+     // Don't increment page usage count, cause ctx pages are allocated
+     // with drm_alloc_pages, which marks all pages as reserved. Reserved

Reply via email to