diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-04 11:01:52 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-09 09:32:24 +1000 |
commit | 44224c3f455886190b101dbb00befbaff5e98466 (patch) | |
tree | 51f618073d3c19a417fb707350846cfaa5f2813f /drivers/gpu/drm/radeon/r600_blit_shaders.c | |
parent | a0c07a69bc5d060362e4861d6c4f7c67dab57f1e (diff) | |
download | linux-44224c3f455886190b101dbb00befbaff5e98466.tar.gz linux-44224c3f455886190b101dbb00befbaff5e98466.tar.bz2 linux-44224c3f455886190b101dbb00befbaff5e98466.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_blit_shaders.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_blit_shaders.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeon/r600_blit_shaders.c index d745e815c2e8..a112c59f9d82 100644 --- a/drivers/gpu/drm/radeon/r600_blit_shaders.c +++ b/drivers/gpu/drm/radeon/r600_blit_shaders.c @@ -9,11 +9,6 @@ const u32 r6xx_default_state[] = 0xc0012800, 0x80000000, 0x80000000, - 0xc0004600, - 0x00000016, - 0xc0016800, - 0x00000010, - 0x00028000, 0xc0016800, 0x00000010, 0x00008000, @@ -531,11 +526,6 @@ const u32 r7xx_default_state[] = 0xc0012800, 0x80000000, 0x80000000, - 0xc0004600, - 0x00000016, - 0xc0016800, - 0x00000010, - 0x00028000, 0xc0016800, 0x00000010, 0x00008000, |