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=6209          
     

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[agp mach64] DMA with       |[PATCH] [agp mach64] DMA
                   |indirect buffer kills DRI   |with indirect buffer kills
                   |client                      |DRI client




------- Additional Comments From [EMAIL PROTECTED]  2006-03-11 23:30 -------
The problem was that dev->agp_buffer_token was not set, and mach64 drm would
map the DMA buffers from linear address 0x0. With the one-liner below, it
correctly maps the DMA buffers from the same linear address as the vertex bufs.

I now plan to make mach64_dma_vertex use DMA buffers.

--- mach64_dma.orig     2006-03-11 14:24:41.000000000 +0200
+++ mach64_dma.c        2006-03-11 14:25:05.000000000 +0200
@@ -834,6 +834,7 @@
                        mach64_do_cleanup_dma(dev);
                        return DRM_ERR(ENOMEM);
                }
+               dev->agp_buffer_token = init->buffers_offset;
                dev->agp_buffer_map =
                    drm_core_findmap(dev, init->buffers_offset);
                if (!dev->agp_buffer_map) {
          
     
     
--           
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.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to