mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
catalyst: linux-4.1 patch via AUR.
This commit is contained in:
parent
a615cc601b
commit
7e0400367a
2 changed files with 18 additions and 2 deletions
15
srcpkgs/catalyst/files/kolasa_4.1_remove-IRQF_DISABLED.patch
Normal file
15
srcpkgs/catalyst/files/kolasa_4.1_remove-IRQF_DISABLED.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- 15.7/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-07-04 16:31:23.000000000 +0200
|
||||||
|
+++ 15.7a/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-07-09 17:40:58.611608136 +0200
|
||||||
|
@@ -3498,7 +3498,11 @@
|
||||||
|
#else
|
||||||
|
//when MSI enabled. keep irq disabled when calling the action handler,
|
||||||
|
//exclude this IRQ from irq balancing (only on one CPU)
|
||||||
|
- ((useMSI) ? (IRQF_DISABLED) : (IRQF_SHARED)),
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)
|
||||||
|
+ ((useMSI) ? (IRQF_NOBALANCING) : (IRQF_SHARED)),
|
||||||
|
+#else
|
||||||
|
+ ((useMSI) ? (IRQF_DISABLED) : (IRQF_SHARED)),
|
||||||
|
+#endif
|
||||||
|
#endif
|
||||||
|
dev_name,
|
||||||
|
context);
|
|
@ -3,9 +3,9 @@ _desc="AMD catalyst driver for Linux"
|
||||||
|
|
||||||
pkgname=catalyst
|
pkgname=catalyst
|
||||||
version=15.20.1046
|
version=15.20.1046
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Propietary AMD license"
|
license="Proprietary AMD license"
|
||||||
homepage="http://www.amd.com"
|
homepage="http://www.amd.com"
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
@ -35,6 +35,7 @@ do_build() {
|
||||||
cd fglrx-${version}
|
cd fglrx-${version}
|
||||||
|
|
||||||
patch -Np1 -i ${FILESDIR}/kolasa_4.0-cr4-strn.patch
|
patch -Np1 -i ${FILESDIR}/kolasa_4.0-cr4-strn.patch
|
||||||
|
patch -Np1 -i ${FILESDIR}/kolasa_4.1_remove-IRQF_DISABLED.patch
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
cd fglrx-${version}
|
cd fglrx-${version}
|
||||||
|
|
Loading…
Add table
Reference in a new issue