libdrm_radeon: Optimize copy of table to cs buffer with specialized call.
authorPauli Nieminen <suokkos@gmail.com>
Tue, 18 Aug 2009 15:51:38 +0000 (18:51 +0300)
committerAlex Deucher <alexdeucher@gmail.com>
Tue, 18 Aug 2009 18:54:25 +0000 (14:54 -0400)
commit8c43b79b21929e9e54e13e892f7787e222e73f39
treed719785fe33f96ccffeae4fd8c0da8ab78b6553a
parenta474fd978c0dedbed21b5dff24126acb1c7effef
libdrm_radeon: Optimize copy of table to cs buffer with specialized call.

Using this call in OUT_BATCH_TABLE reduces radeonEmitState cpu usage from
9% to 5% and emit_vpu goes from 7% to 1.5%. I did use calgrind to profile
gears for cpu hotspots with r500 card.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
libdrm/radeon/radeon_cs.h