aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_blit_kms.c
diff options
context:
space:
mode:
authorAndre Maasikas <amaasikas@gmail.com>2009-09-21 08:59:41 -0400
committerDave Airlie <airlied@redhat.com>2009-09-22 20:21:06 -0400
commit5b31aee9d72f529ee6b60e8d66967f817a0e39fc (patch)
tree33258e229ee03cac9ec53e0c5615aa9e1d5d0985 /drivers/gpu/drm/radeon/r600_blit_kms.c
parentc214271563c00f2721c5111e27b53bf06dabc6e4 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_blit_kms.c')
-rw-r--r--drivers/gpu/drm/radeon/r600_blit_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_kms.c b/drivers/gpu/drm/radeon/r600_blit_kms.c
index 0a6f4681f46..acae33e2ad5 100644
--- a/drivers/gpu/drm/radeon/r600_blit_kms.c
+++ b/drivers/gpu/drm/radeon/r600_blit_kms.c
@@ -774,7 +774,7 @@ void r600_kms_blit_copy(struct radeon_device *rdev,
774 774
775 /* dst 23 */ 775 /* dst 23 */
776 set_render_target(rdev, COLOR_8_8_8_8, 776 set_render_target(rdev, COLOR_8_8_8_8,
777 dst_x + cur_size, h, 777 (dst_x + cur_size) / 4, h,
778 dst_gpu_addr); 778 dst_gpu_addr);
779 779
780 /* scissors 12 */ 780 /* scissors 12 */