From 799f143652373b5897e2fa9283c29fac32b591c2 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 28 Jul 2011 03:35:51 +0200 Subject: [PATCH] xf86-video-fglrx: update to xf86-video-fglrx-11.7 Signed-off-by: Stephan Raue --- packages/x11/driver/xf86-video-fglrx/meta | 2 +- ...-11.5-001-linux-2.6.39_no_smp_lock.h.patch | 56 ------------------- 2 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 packages/x11/driver/xf86-video-fglrx/patches.upstream/xf86-video-fglrx-11.5-001-linux-2.6.39_no_smp_lock.h.patch diff --git a/packages/x11/driver/xf86-video-fglrx/meta b/packages/x11/driver/xf86-video-fglrx/meta index a0dfa2ecd7..dddf255bf4 100644 --- a/packages/x11/driver/xf86-video-fglrx/meta +++ b/packages/x11/driver/xf86-video-fglrx/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="xf86-video-fglrx" -PKG_VERSION="11.6" +PKG_VERSION="11.7" PKG_REV="1" PKG_ARCH="i386 x86_64" PKG_LICENSE="nonfree" diff --git a/packages/x11/driver/xf86-video-fglrx/patches.upstream/xf86-video-fglrx-11.5-001-linux-2.6.39_no_smp_lock.h.patch b/packages/x11/driver/xf86-video-fglrx/patches.upstream/xf86-video-fglrx-11.5-001-linux-2.6.39_no_smp_lock.h.patch deleted file mode 100644 index 8d12681b98..0000000000 --- a/packages/x11/driver/xf86-video-fglrx/patches.upstream/xf86-video-fglrx-11.5-001-linux-2.6.39_no_smp_lock.h.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Naur xf86-video-fglrx-11.5/common/lib/modules/fglrx/build_mod/drmP.h xf86-video-fglrx-11.5.patch/common/lib/modules/fglrx/build_mod/drmP.h ---- xf86-video-fglrx-11.5/common/lib/modules/fglrx/build_mod/drmP.h 2011-05-03 17:19:14.000000000 +0200 -+++ xf86-video-fglrx-11.5.patch/common/lib/modules/fglrx/build_mod/drmP.h 2011-05-11 17:39:25.549917899 +0200 -@@ -57,7 +57,9 @@ - #include - #include - #include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39) - #include /* For (un)lock_kernel */ -+#endif - #include - #include - #if defined(__alpha__) || defined(__powerpc__) -diff -Naur xf86-video-fglrx-11.5/common/lib/modules/fglrx/build_mod/firegl_public.c xf86-video-fglrx-11.5.patch/common/lib/modules/fglrx/build_mod/firegl_public.c ---- xf86-video-fglrx-11.5/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-05-03 17:19:14.000000000 +0200 -+++ xf86-video-fglrx-11.5.patch/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-05-11 17:52:40.421297182 +0200 -@@ -114,7 +114,9 @@ - #include - #include - #include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39) - #include -+#endif - // newer SuSE kernels need this - #include - -@@ -1049,7 +1051,11 @@ - dev->pubdev.signature = FGL_DEVICE_SIGNATURE; - - for (i = 0; i < __KE_MAX_SPINLOCKS; i++) -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39) - dev->spinlock[i] = SPIN_LOCK_UNLOCKED; -+#else -+ dev->spinlock[i] = __SPIN_LOCK_UNLOCKED(old_style_spin_init); -+#endif - - for (i=0; i < __KE_MAX_SEMAPHORES; i++) - sema_init(&dev->struct_sem[i], 1); -@@ -1900,13 +1906,17 @@ - /** \brief Grab global kernel lock */ - void ATI_API_CALL KCL_GlobalKernelLock(void) - { -+#ifdef CONFIG_KERNEL_LOCK - lock_kernel(); -+#endif - } - - /** \brief Release global kernel lock */ - void ATI_API_CALL KCL_GlobalKernelUnlock(void) - { -+#ifdef CONFIG_KERNEL_LOCK - unlock_kernel(); -+#endif - } - - /*****************************************************************************/