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=6242
------- Additional Comments From [EMAIL PROTECTED] 2006-04-10 11:34 -------
(In reply to comment #9)
> What about the following approach:
>
> Do not map the DMA buffers to user-space.
>
> [...]
>
> Hopefully, we can reuse the current buffer management routines. If it is
> possible to do drmAddBufs without drmMapBufs, then very little changes are
> required (I saw a comment in drm_mapbufs that PCI buffers are actually mapped
> in drm_addbufs ...).
>
I'am trying to tackle this by mapping the DMA buffers READ_ONLY. My current
understanding is that PCI DMA buffers do actually get mapped in drm_mapbufs:
drm_mapbufs -> do_mmap(..., 0) -> drm_mmap -> drm_mmap_dma
If this is correct, can someone piggyback the following change at the
description of drm_mapbufs?
* Maps the AGP, SG or PCI buffer region with do_mmap(), and copies information
* about each buffer into user space. For PCI buffers, it calls do_mmap() with
* offset equal to 0, which drm_mmap interpretes as PCI buffers and calls
* drm_mmap_dma().
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel