Module Name:    xsrc
Committed By:   mrg
Date:           Fri Jun 12 05:05:48 UTC 2009

Modified Files:
        xsrc/external/mit/xf86-video-ati/dist/src: radeon_exa_funcs.c

Log Message:
pkgsrc patch-ab:

Fix coordinate limits off-by-one error causing hardware freezes:
http://bugs.freedesktop.org/show_bug.cgi?id=21598


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
    xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c
diff -u xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c:1.1.1.2 xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c:1.2
--- xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c:1.1.1.2	Wed Jun 10 09:00:45 2009
+++ xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_funcs.c	Fri Jun 12 05:05:48 2009
@@ -532,11 +532,11 @@
     xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Setting EXA maxPitchBytes\n");
 
     info->accel_state->exa->maxPitchBytes = 16320;
-    info->accel_state->exa->maxX = 8192;
+    info->accel_state->exa->maxX = 8191;
 #else
     info->accel_state->exa->maxX = 16320 / 4;
 #endif
-    info->accel_state->exa->maxY = 8192;
+    info->accel_state->exa->maxY = 8191;
 
     if (xf86ReturnOptValBool(info->Options, OPTION_EXA_VSYNC, FALSE)) {
 	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EXA VSync enabled\n");

Reply via email to