Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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  */