(solved) memcpy to videoram eats too much CPU on ATI cards

Peter Surda (shurdeek@panorama.sth.ac.at)
Thu, 6 Sep 2001 08:18:43 +0200


--HWvPVVuAAfuRc6SZ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 28, 2001 at 12:01:27AM +0200, Peter Surda wrote:
> So the conclusion is basically that the card can't chew data that fast an=
d I
> should use busmastering instead of memcpy (and other drivers should do th=
at
> too because "hidden load" occurs anyway). I'm working on it.
Just to end this thread in a victorous manner ;-), thanks to Michel D=E4nzer
<michdaen@iiic.ethz.ch> and me, there is now a working implementation of
busmastered video transfers for the r128 driver, and it has been submitted =
to
all relevant lists and maintainers. It indeed solved the problem, CPU time
eaten by video transfers is negligible and DVD and "DivX ;-)" playback was
never so smooth. With software-only DVD decoder, watching fullscreen DVD
leaves 50-60% CPU time idle on a Duron 650, even on action-packed scenes. If
I catch someone claiming again that Linux isn't suitable for multimedia, I =
can
just laugh now :-).

Bye,

Peter Surda (Shurdeek) <shurdeek@panorama.sth.ac.at>, ICQ 10236103, +436505=
122023

--
               Dudes! May the Open Source be with you.

--HWvPVVuAAfuRc6SZ Content-Type: application/pgp-signature Content-Disposition: inline

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

iD8DBQE7lxVCzogxsPZwLzcRApJdAJ4iU1qtb4j/cCqTCwtwXm/TUApypwCfSOGM gb/MyAaDSrm54yqsG939AFo= =S/G3 -----END PGP SIGNATURE-----

--HWvPVVuAAfuRc6SZ-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/