summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-08-25 11:39:56 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-08-25 11:39:56 -0400
commitfc74e1194c980d978667e02c60a29a761a694bde (patch)
tree0ad1ce2aa2ed4e5b0f4c49a1042cb27a57ffc93e /src
parent1c909ecd88e75c6e16af7aa068e32a7a60b0af37 (diff)
RV740: disable small DFS transfers
Seems problematic on all rv740 chips, so until we can find a solution, disable them.
Diffstat (limited to 'src')
-rw-r--r--src/r600_exa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 48e797f3..3e775157 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -1864,6 +1864,10 @@ R600DownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h,
int wpass = w * (bpp/8);
drmBufPtr scratch;
+ /* RV740 seems to be particularly problematic with small xfers */
+ if ((info->ChipFamily == CHIP_FAMILY_RV740) && (w < 32 || h < 32))
+ return FALSE;
+
if (src_pitch & 7)
return FALSE;