r600g: use CP DMA for buffer clears on evergreen+
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Apr 2013 16:26:52 +0000 (12:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Apr 2013 22:54:31 +0000 (18:54 -0400)
commit5bbeae7a3d3be17d44b1bc851872a107a75c393b
tree1f9910aa85a122f562b1e9ee0fb6a5c501910199
parent9d0ad4c2f2eb89bab82194478180df570cc7aa4e
r600g: use CP DMA for buffer clears on evergreen+

Lighter weight then using streamout.  Only evergreen
and newer asics support embedded data as src with
CP DMA.

Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_pipe.h