aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/r600_blit.c2
-rw-r--r--drivers/gpu/drm/radeon/r600_blit_kms.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit.c b/drivers/gpu/drm/radeon/r600_blit.c
index dde2ccbf1d15..d988eece0187 100644
--- a/drivers/gpu/drm/radeon/r600_blit.c
+++ b/drivers/gpu/drm/radeon/r600_blit.c
@@ -737,7 +737,7 @@ r600_blit_copy(struct drm_device *dev,
737 737
738 /* dst */ 738 /* dst */
739 set_render_target(dev_priv, COLOR_8_8_8_8, 739 set_render_target(dev_priv, COLOR_8_8_8_8,
740 dst_x + cur_size, h, 740 (dst_x + cur_size) / 4, h,
741 dst_gpu_addr); 741 dst_gpu_addr);
742 742
743 /* scissors */ 743 /* scissors */
diff --git a/drivers/gpu/drm/radeon/r600_blit_kms.c b/drivers/gpu/drm/radeon/r600_blit_kms.c
index 0a6f4681f468..acae33e2ad51 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 */