summaryrefslogtreecommitdiff
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:42:44 -0400
commita2968896884545f5c8f3f16c398c1ee4534ad7a8 (patch)
tree93a9e0e92dd019bd4db5bc44695d68be4b8f013f
parent4a2f0022373b553c922e63c84f2de82a5426a1b5 (diff)
RV740: disable small DFS transfers
Seems problematic on all rv740 chips, so until we can find a solution, disable them.
-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 77e94ea5..bee8f09c 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -1847,6 +1847,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;