xf86-video-intel: src/sna/sna_accel.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Jun 19 04:30:39 PDT 2014


 src/sna/sna_accel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6b32cf3a3c908bd29496fcf5d190fd0f8c657ae6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Jun 19 12:29:58 2014 +0100

    sna: Missed fixing y tile offset in last commit
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 9a485cf..b0e7967 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -12335,7 +12335,7 @@ sna_poly_fill_rect_tiled_nxm_blt(DrawablePtr drawable,
 
 	ty = 0, th = tile->drawable.height;
 	if (!tile8(th) && th > extents->y2 - extents->y1) {
-		ty = (extents->y1 - gc->patOrg.y) % th;
+		ty = (extents->y1 - gc->patOrg.y - drawable->y) % th;
 		if (ty < 0)
 			ty += th;
 		th = next8(extents->y2 - extents->y1, th);


More information about the xorg-commit mailing list