drm/radeon/r600: set correct pitch for 4 byte copy

[agd5f: also fix the non-kms path]

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
Andre Maasikas
2009-09-21 08:59:41 -04:00
committed by Dave Airlie
parent c214271563
commit 5b31aee9d7
2 changed files with 2 additions and 2 deletions

View File

@@ -737,7 +737,7 @@ r600_blit_copy(struct drm_device *dev,
/* dst */
set_render_target(dev_priv, COLOR_8_8_8_8,
dst_x + cur_size, h,
(dst_x + cur_size) / 4, h,
dst_gpu_addr);
/* scissors */