[MPlayer-dev-eng] DMA or not DMA

D Richard Felker III dalias at aerifal.cx
Wed Nov 24 16:56:29 CET 2004


On Wed, Nov 24, 2004 at 12:22:24PM +0200, Ville Syrjälä wrote:
> On Wed, Nov 24, 2004 at 10:28:24AM +0100, Attila Kinali wrote:
> > Hi,
> > 
> > In a discussion on the open-graphics mailinglist the question DMA 
> > came up. Basicaly why players like MPlayer don't use DMA but do 
> > instead a mem2pci/agp copy.
> > 
> > >From the discussion, i musst say, that i don't see a real
> > problem to use DMA and that it would gain some performance.
> > 
> > If DMA with MPlayer is just a matter of setting up a DMA-channel,
> > then i will try to patch mga_vid to use it instead (but that
> > wont be before the christmas break and after the 2.6 port is finished)
> > 
> > Do you see any problems with DMA or would it be just a straight
> > forward implement and forget thing ?
> 
> The problem is multiple drivers trying to use the hardware at the same 
> time.

maybe for some people; i don't care about this though. i don't use any
other drivers that use dma. certainly dma should be optionally
supported in mga_vid if this is the only obstacle. i'd much rather
have 5-10% faster mga_vid and no stupid opengl crap than slow mga_vid
and opengl..

rich




More information about the MPlayer-dev-eng mailing list