USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

kernel 2.6.27, xorg 7.4 (server 1.5.2) & the ATI driver!

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Hardware
View previous topic :: View next topic  
Author Message
jada
Linux Guru


Joined: 13 May 2006
Posts: 3066
Location: Sun City, CA 92585

PostPosted: Fri Oct 17, 2008 10:59 pm    Post subject: kernel 2.6.27, xorg 7.4 (server 1.5.2) & the ATI driver! Reply with quote

Quote:

here is a Kernel patch from Archlinux.

Code:

diff -Nur archive_files.orig/common/lib/modules/fglrx/build_mod/firegl_public.c archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c
--- archive_files.orig/common/lib/modules/fglrx/build_mod/firegl_public.c   2008-08-18 13:45:42.000000000 +0200
+++ archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c   2008-10-10 19:57:39.000000000 +0200
@@ -202,6 +202,13 @@
 #define preempt_enable()
 #endif
 
+/* Since 2.6.27 smp_call_function doesn't have a nonatomic/retry argument */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+#define SMP_CALL_FUNCTION(func, info, retry, wait) smp_call_function(func, info, wait)
+#else
+#define SMP_CALL_FUNCTION(func, info, retry, wait) smp_call_function(func, info, retry, wait)
+#endif
+
 // ============================================================
 /* globals */
 
@@ -2668,8 +2675,8 @@
 {
 /*Some kernel developer removed the export of symbol "flush_tlb_page" on 2.6.25 x86_64 SMP kernel.
   Define a simple version here.*/
-#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
-    on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
+#if defined(__x86_64__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
+    on_each_cpu(KCL_flush_tlb_one, &va, 1);
 #else
     flush_tlb_page(vma, va);
 #endif
@@ -3077,7 +3084,7 @@
 {
 #ifdef __SMP__
     /* write back invalidate all other CPUs (exported by kernel) */
-   if (smp_call_function(deferred_flush, NULL, 1, 0) != 0)
+   if (SMP_CALL_FUNCTION(deferred_flush, NULL, 1, 0) != 0)
       panic("timed out waiting for the other CPUs!\n");
 
     /* invalidate this CPU */
@@ -4796,7 +4803,7 @@
 void ATI_API_CALL KCL_CallFuncOnOtherCpus(firegl_void_routine_t func_to_call)
 {
 #ifdef CONFIG_SMP
-   smp_call_function( firegl_smp_func_parameter_wrap, (void*)func_to_call, 0, 1 );
+   SMP_CALL_FUNCTION( firegl_smp_func_parameter_wrap, (void*)func_to_call, 0, 1 );
 #endif
 }
 
@@ -4910,7 +4917,7 @@
    }
 
 #ifdef CONFIG_SMP
-   if (smp_call_function(KCL_setup_pat, NULL, 0, 1) != 0)
+   if (SMP_CALL_FUNCTION(KCL_setup_pat, NULL, 0, 1) != 0)
        return 0;
 #endif
    KCL_setup_pat(NULL);
@@ -4929,7 +4936,7 @@
     }
 
 #ifdef CONFIG_SMP
-    if (smp_call_function(KCL_restore_pat, NULL, 0, 1) != 0)
+    if (SMP_CALL_FUNCTION(KCL_restore_pat, NULL, 0, 1) != 0)
        return;
 #endif
     KCL_restore_pat(NULL);



Thanks to Jan from the Archlinux dev's! Very Happy
Quote:

Hi,

Thanks for the notice about a new catalyst. 8.10 actually doesn't
support anything, 8.11 will do. I grabbed a prerelease from Ubuntu that
has been released to canonical for the Ubuntu 8.10 release. This driver
should support X.Org 7.4 without too much problems.

The new drivers are in testing for i686 at this moment, if you're
running this architecture, please give it a try so I can move X.Org
soon.


and here you can find a prebuild from ATI driver 8.11 (Ubuntu Version)
http://archive.ubuntu.com/ubuntu/pool/multiverse/f/fglrx-installer/

Roadmap ATI drivers from AMD. The Final release 8.11 (November) will support the future Ubuntu release. I have no info's about Fedora or openSUSE.

With the Archlinux xorg 1.5.2 move also the catalyst and catalyst-utils will support Archlinux.


With this informations you can now compile your own drivers if needed. Maybe some SIDUX user can use the Ubuntu driver too Wink



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
JP
Linux Guru


Joined: 07 Jul 2004
Posts: 6677
Location: Central Montana

PostPosted: Sat Oct 18, 2008 1:21 am    Post subject: Reply with quote

Since I don't have testing in my repos, that will give them time to get everything settled and up to snuff before I get home (I Hope :crosses fingers: ) Wink



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2003-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2001-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse