svn commit: r197604 - head/sys/dev/drm

Robert Noland rnoland at FreeBSD.org
Mon Sep 28 22:38:44 UTC 2009


Author: rnoland
Date: Mon Sep 28 22:38:44 2009
New Revision: 197604
URL: http://svn.freebsd.org/changeset/base/197604

Log:
  Fix blit pitch for 4 byte transfers on r600.
  
  MFC after:	1 week

Modified:
  head/sys/dev/drm/r600_blit.c

Modified: head/sys/dev/drm/r600_blit.c
==============================================================================
--- head/sys/dev/drm/r600_blit.c	Mon Sep 28 22:37:07 2009	(r197603)
+++ head/sys/dev/drm/r600_blit.c	Mon Sep 28 22:38:44 2009	(r197604)
@@ -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 */


More information about the svn-src-all mailing list