Xvideo acceleration: GATOS for PPC?

Michel Dänzer michdaen at iiic.ethz.ch
Thu Aug 30 00:59:22 EST 2001


Michel Lanners wrote:

> > Michel Dänzer wrote:
> > > > Although I found no evidence documented evicende of this, I suppose
> > > > this is because XFree (plain), although implementing Xvideo, doesn't
> > > > use the hardware acceleration in the ATI chips, whereas the GATOS
> > > > drivers do just that.
> > >
> > > Not quite. Plain XFree86 uses the frontend scaler, which also does the
> > > colorspace conversion. The reason for the CPU load is that the data is
> > > transferred to the card with regular memcpy. If the GATOS drivers use
> > > (virtually) no CPU for the transfer, that hints at that they use bus
> > > mastering for the transfer. Very interesting, I'll have to look at the
> > > code.
> >
> > False alarm, they also use memcpy. In fact, the code looks very similar to
> > plain XFree86, so I'd be surprised if it makes any difference.
>
> Did you look at the r128 driver only? My test showing the decrease in CPU
> load was on a Rage Mobility-equipped Dell laptop (i.e Mach64-compatible
> using the ati driver).

Nope, I looked at the mach64 code as well. Looks like slightly modified r128
code. The only real difference seems to be that GATOS supports additional
video chips, but that doesn't apply to us.


--
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list