[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Solved] fglrx 8.18.6 (and former probably) not working with 2.6.14 on amd64



Am Dienstag, 15. November 2005 10:57 schrieb Thorsten Müller:

From
/usr/src/linux-2.6.13.4/Documentation/feature-removal-schedule.txt:
---snip------------------------------

What:   register_ioctl32_conversion() /
unregister_ioctl32_conversion() When:   April 2005
Why:    Replaced by ->compat_ioctl in file_operations and other
method vecors.
Who:    Andi Kleen <ak at muc dot de>, Christoph Hellwig <hch at lst dot de>

---snap------------------------------

I am no (kernel)-hacker, so I don't know how to translate the calls
in firegl_public.c to the new macros. Probably its not that easy as
to just call the new macros.

Perhaps someone around here can make somethind of it. Otherwise we
must hope that ATI can work this out.

Thanks to Ian Collier who pointed me to a gentoo patch that altered 
firegl_public.c not to use the register/unregister_ioctl32_conversion 
any longer. The original gentoo patch can be found here:

http://mirror.ox.ac.uk/sites/rsync.gentoo.org/x11-drivers/ati-drivers/files/fglrx-2.6.14-compat_ioctl.patch

I changed this a little bit because if this patch was applied, then the 
fglrx module did no longer build with kernel versions < 2.6.14. The 
patch is against fglrx64 driver version 8.19.10 and is tested with 
vanilla kernel version 2.6.13.[3,4] and 2.6.14.[1,2,3].

My patch is appended to this post.

Greetings
Thorsten Müller

Attachment: 21-fglrx-2.6.14-compat_ioctl
Description: Text Data