]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitceb02ce85ca1303bef8ac01a5db30ca6c3271ecb
tree51f618073d3c19a417fb707350846cfaa5f2813f
parent913f52ed664343660c3db20908941ec341d83c57
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