File: 03-stub-for-agpless-kernel.patch

package info (click to toggle)
fglrx-driver 1%3A15.9-4~deb8u1~bpo70%2B1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy-backports
  • size: 505,568 kB
  • sloc: ansic: 15,231; xml: 4,141; sh: 2,401; makefile: 425
file content (20 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Add a stub for kernels built without CONFIG_AGP
Author: Vasiliy Yeremeyev <vayerx@gmail.com>
Origin: other, https://bugs.gentoo.org/show_bug.cgi?id=435322#c11
Forwarded: no
Last-Update: 2012-11-04

--- fglrx-driver-13.1.orig/common/lib/modules/fglrx/build_mod/kcl_agp.c
+++ fglrx-driver-13.1/common/lib/modules/fglrx/build_mod/kcl_agp.c
@@ -479,6 +479,11 @@ int ATI_API_CALL KCL_AGP_Enable(unsigned
     return -EINVAL;
 }
 
+int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev)
+{
+    return -EINVAL;
+}
+
 int ATI_API_CALL KCL_AGP_ReadCapsRegisters(KCL_PCI_DevHandle dev, unsigned int *caps)
 {
     return -EINVAL;