drm/radeon/kms/r600: reduce gpu cache flushing
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 4 Feb 2010 16:01:52 +0000 (11:01 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:24 +0000 (09:32 +1000)
commit44224c3f455886190b101dbb00befbaff5e98466
tree51f618073d3c19a417fb707350846cfaa5f2813f
parenta0c07a69bc5d060362e4861d6c4f7c67dab57f1e
drm/radeon/kms/r600: reduce gpu cache flushing

Only flush the gpu caches before we submit a fence.
This leads to a small performance boost when we take
the extra gpu cache flushes out of the ddx and mesa.
Once this patch is in and the drm version is bumped,
we can remove the flushes from the ddx and drm.

Also, remove the extra cache flushes from the blit
routine.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/r600_blit_shaders.c