summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-09-28 22:38:44 +0000
committerrnoland <rnoland@FreeBSD.org>2009-09-28 22:38:44 +0000
commitae3bae8fe30b1732201597ef1f537f7362981c96 (patch)
tree067b763ae470bd9f3e49202089e14a488b3782ab
parentc27ab7e9488b2097a960ecd17ae3c5775efe7802 (diff)
downloadFreeBSD-src-ae3bae8fe30b1732201597ef1f537f7362981c96.zip
FreeBSD-src-ae3bae8fe30b1732201597ef1f537f7362981c96.tar.gz
Fix blit pitch for 4 byte transfers on r600.
MFC after: 1 week
-rw-r--r--sys/dev/drm/r600_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/r600_blit.c b/sys/dev/drm/r600_blit.c
index 91690d2..6443d84 100644
--- a/sys/dev/drm/r600_blit.c
+++ b/sys/dev/drm/r600_blit.c
@@ -1876,7 +1876,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 */
OpenPOWER on IntegriCloud