Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2009 22:38:44 +0000 (UTC)
From:      Robert Noland <rnoland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197604 - head/sys/dev/drm
Message-ID:  <200909282238.n8SMciLf068395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909282238.n8SMciLf068395>