[Pkg-fglrx-devel] r1159 - in fglrx-driver/branches/experimental/debian: . patches

Patrick Matthäi pmatthaei at alioth.debian.org
Sat Jan 19 13:24:43 UTC 2013


Author: pmatthaei
Date: 2013-01-19 13:24:43 +0000 (Sat, 19 Jan 2013)
New Revision: 1159

Added:
   fglrx-driver/branches/experimental/debian/patches/05-linux-3.8.diff
Modified:
   fglrx-driver/branches/experimental/debian/changelog
   fglrx-driver/branches/experimental/debian/patches/series
Log:
* Add Ubuntu patch 05-linux-3.8 to add Linux 3.8 support.


Modified: fglrx-driver/branches/experimental/debian/changelog
===================================================================
--- fglrx-driver/branches/experimental/debian/changelog	2013-01-18 08:43:27 UTC (rev 1158)
+++ fglrx-driver/branches/experimental/debian/changelog	2013-01-19 13:24:43 UTC (rev 1159)
@@ -1,3 +1,9 @@
+fglrx-driver (1:13.1-2) UNRELEASED; urgency=low
+
+  * Add Ubuntu patch 05-linux-3.8 to add Linux 3.8 support.
+
+ -- Patrick Matthäi <pmatthaei at debian.org>  Sat, 19 Jan 2013 14:23:42 +0100
+
 fglrx-driver (1:13.1-1) experimental; urgency=low
 
   * New upstream release.

Added: fglrx-driver/branches/experimental/debian/patches/05-linux-3.8.diff
===================================================================
--- fglrx-driver/branches/experimental/debian/patches/05-linux-3.8.diff	                        (rev 0)
+++ fglrx-driver/branches/experimental/debian/patches/05-linux-3.8.diff	2013-01-19 13:24:43 UTC (rev 1159)
@@ -0,0 +1,16 @@
+# Patch from Alberto Milone <alberto.milone at canonical.com> to add Linux 3.8 support.
+
+diff -Naur fglrx-driver-13.1.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx-driver-13.1/common/lib/modules/fglrx/build_mod/kcl_acpi.c
+--- fglrx-driver-13.1.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2013-01-15 16:42:53.000000000 +0100
++++ fglrx-driver-13.1/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2013-01-19 14:22:01.075952886 +0100
+@@ -775,7 +775,9 @@
+ unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
+ {
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
+-    #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
++    #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
++        pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
++    #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
+         pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
+     #else 
+         pInfo->video_handle = pInfo->pcidev->dev.firmware_data;

Modified: fglrx-driver/branches/experimental/debian/patches/series
===================================================================
--- fglrx-driver/branches/experimental/debian/patches/series	2013-01-18 08:43:27 UTC (rev 1158)
+++ fglrx-driver/branches/experimental/debian/patches/series	2013-01-19 13:24:43 UTC (rev 1159)
@@ -1,3 +1,4 @@
 02-dkms-arch_compat.diff
 03-authatieventsd.sh.diff
 04-linux-3.7.diff
+05-linux-3.8.diff




More information about the Pkg-fglrx-devel mailing list