summaryrefslogtreecommitdiff
path: root/src/r600_exa.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-18 14:08:30 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-18 14:08:30 -0400
commitc0e2513ab128ddd5be0ed626d9e31777a98983ef (patch)
tree50ef46eb66dd94966187b40a4e9000e225bb71b1 /src/r600_exa.c
parente3e1f0c7b892b094b292081021a0e97932b8e079 (diff)
R6xx/R7xx AGP: disable gart data transfers
UTS/DFS/Xv Doesn't seem to be reliable on AGP. fixes bugs: 20436, 20236, several reports on ML and IRC
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r--src/r600_exa.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 22e554da..40f02e1e 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -2084,8 +2084,11 @@ R600DrawInit(ScreenPtr pScreen)
info->accel_state->exa->PrepareAccess = R600PrepareAccess;
info->accel_state->exa->FinishAccess = R600FinishAccess;
- info->accel_state->exa->UploadToScreen = R600UploadToScreen;
- info->accel_state->exa->DownloadFromScreen = R600DownloadFromScreen;
+ /* AGP seems to have problems with gart transfers */
+ if (info->accelDFS) {
+ info->accel_state->exa->UploadToScreen = R600UploadToScreen;
+ info->accel_state->exa->DownloadFromScreen = R600DownloadFromScreen;
+ }
info->accel_state->exa->flags = EXA_OFFSCREEN_PIXMAPS;
#ifdef EXA_SUPPORTS_PREPARE_AUX