summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-03-31 22:30:24 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-03-31 22:30:24 -0400
commitbc93395b3eb5e3511c1b62af90693269f4fa6e13 (patch)
treeb012f49d803c6a861da1db651d48ab57465cb7d2
parent3a33b1a92c328b690bdc1aafa0011e4326109815 (diff)
r6xx+ EXA: fix swapped domains in kms UTS
Noticed by Dave. Should fix fdo bug 27284
-rw-r--r--src/r600_exa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index e34a471c..59f4bfe4 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -1928,13 +1928,13 @@ R600UploadToScreenCS(PixmapPtr pDst, int x, int y, int w, int h,
if (!R600SetAccelState(pScrn,
src_pitch_hw, w, h,
0, scratch, bpp,
- RADEON_GEM_DOMAIN_VRAM,
+ RADEON_GEM_DOMAIN_GTT,
0, 0, 0,
0, NULL, 0,
0,
dst_pitch_hw, pDst->drawable.width, pDst->drawable.height,
0, radeon_get_pixmap_bo(pDst), bpp,
- RADEON_GEM_DOMAIN_GTT,
+ RADEON_GEM_DOMAIN_VRAM,
accel_state->copy_vs_offset, accel_state->copy_ps_offset,
3, 0xffffffff)) {
r = FALSE;