Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=8819          
     
           Summary: make DRM_MODULES="radeon" fails on ppc; typo + x86-
                    specific call [with patch]
           Product: DRI
           Version: DRI CVS
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DRM modules
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Trying to run make DRM_MODULES="radeon" on ppc linux, there are two problems:
/home/me/x11/clean/drm/linux-core/drm_vm.c: In function ‘drm_io_prot’:
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: ‘map’ undeclared 
(first
use in this function)
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: (Each undeclared
identifier is reported only once
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: for each function it
appears in.)

This is just a typo; -> needs to be changed to _.  Once this is fixed, the
module compiles, but does not load, as it refers to wbinvd (in 
drm_ttm_ipi_handler in drm_ttm.c), which doesn't exist on ppc.  
ati_pcigart.c contains the following code:
#if defined(__i386__) || defined(__x86_64__)
    wbinvd();
#else
    mb();
#endif
When this replaces the unconditional use of wbinvd in drm_ttm.c, the module
loads and direct rendering works (I'm using a ATI Technologies Inc RV350
[Mobility Radeon 9600 M10] in a Powerbook).

This code probably shouldn't be duplicated, but I'm not aware of what coding
standards are used by this project, sorry.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to