Although the ati-drivers-3.9.0 release notes say that regparm is supported it seems that only some functions support it. I made a patch which makes all functions support regparm (without it the drivers do not work in a regparm enabled 2.6.7-rc1 kernel, I'm not 100% sure about other kernels, but very likely it won't work with them aswell) Reproducible: Always Steps to Reproduce:
Created attachment 32322 [details, diff] The patch for regparm support
Created attachment 32323 [details] Ebuild for the patch
Looks interesting, I'll test it a bit in short time
Ive just recompiled ati-drivers with this patch, my system is finally working with accellerated 3d again, life is good. Prior to this dri failed to initialize and the module occasionally spewed out garbage, not so any more.
Tested locally and seems to work fine, in cvs
Closing