[Pkg-fglrx-devel] Patch for kernels compiled without CONFIG_AGP

Daniel Schaal farbing at web.de
Sat Feb 2 12:30:48 UTC 2013


Am 02.02.2013 12:34, schrieb Andreas Beckmann:
> On 2013-02-02 12:28, Daniel Schaal wrote:
>> I'm building my own kernels without CONFIG_AGP, which leads to the fglrx
>> module not loading due to a missing symbol.
>>
>> Could you add the attached patch (targeted at the experimental branch)
>> to the package, which adds a stub for the missing symbol?
>
> Shouldn't that stub be added only conditionally if CONFIG_AGP is not
> enabled?
>

It is, see kcl_agp.c:

  59 #if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE)
  60
  61 typedef struct {
  62     void              (*free_memory)(struct agp_memory*);
....
448 #else // !defined(CONFIG_AGP) && !defined(CONFIG_AGP_MODULE)
....
482 int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev)
483 {
484     return -EINVAL;
485 }
486
....
508 #endif //defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE)

Daniel



More information about the Pkg-fglrx-devel mailing list