Commit 5b31aee9 authored by Andre Maasikas's avatar Andre Maasikas Committed by Dave Airlie

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

[agd5f: also fix the non-kms path]
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
parent c2142715
......@@ -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 */
......
......@@ -774,7 +774,7 @@ void r600_kms_blit_copy(struct radeon_device *rdev,
/* dst 23 */
set_render_target(rdev, COLOR_8_8_8_8,
dst_x + cur_size, h,
(dst_x + cur_size) / 4, h,
dst_gpu_addr);
/* scissors 12 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment