diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
commit | 24934e623441310f644e5f72855b0f2bf9f3cd1a (patch) | |
tree | a453939bf58199bc2c3ff27bcf0accf2b221c6c4 /x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch | |
parent | 687f45092b4f4ccf33765cee7427f054bae22344 (diff) |
Incoming! Moving Rogento.git to kogaion-desktop. Finally
Diffstat (limited to 'x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch')
-rw-r--r-- | x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch b/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch new file mode 100644 index 00000000..432e6666 --- /dev/null +++ b/x11-drivers/ati-drivers/files/buildfix_kernel_3.13.patch @@ -0,0 +1,30 @@ +From 6ea087272c0774fc86693a6fc379a2226e10b323 Mon Sep 17 00:00:00 2001 +From: Alberto Milone <alberto.milone@canonical.com> +Date: Wed, 8 Jan 2014 16:09:58 +0100 +Subject: [PATCH 1/1] Add support for Linux 3.13 + +Do not use the ACPI handle which was removed from struct acpi_dev_node +in Linux 3.13. Use the ACPI companion device instead. +--- + kcl_acpi.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/kcl_acpi.c b/kcl_acpi.c +index 5eb9fb1..96b6113 100755 +--- a/common/lib/modules/fglrx/build_mod/kcl_acpi.c ++++ b/common/lib/modules/fglrx/build_mod/kcl_acpi.c +@@ -793,7 +793,11 @@ 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(3,8,0) ++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0) ++ pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion; ++ #else + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle; ++ #endif + #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19) + pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle; + #else +-- +1.7.9.5 + |