On Fri, 2005-03-04 at 15:18 +0200, Ville Syrjälä wrote:
> On Fri, Mar 04, 2005 at 09:08:27AM +1100, Benjamin Herrenschmidt wrote:
> > 
> > > > Oh, but I was not suggesting that. I just meant that interrupt handling 
> > > > code is self-contained and can easily serve several consumers.
> > > 
> > > I'm with you here. And the same should IMHO hold for DMA handling. And 
> > > for 
> > > memory management of course.
> > 
> > DMA handling is the main piece of what the DRM does,
> 
> The actual bits that feed DMA buffers to the hardware are very small. And 
> I just meant that like the IRQ code those need to be easily accessible 
> from other components (fbdev, video capture module etc.)

"Feeding DMA buffers" in what sense ? The buffers are matches with
various functions. For AGP buffers, you have to get into the whole
allocation mecanism, pure PCI DMA isn't always possible on some hosts.

Also, those buffers are what ? Data for blits ? textures ? they always
belong to some sort of command, which we want to eventually validate in
a way by the kernel unless you want your client to be root...

No, honestly, I don't see the point in breaking up our current DRM/fbdev
thing.

Ben.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to