xf86-video-intel: src/i830.h

Zhenyu Wang zhen at kemper.freedesktop.org
Tue May 6 23:36:44 PDT 2008


 src/i830.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a7188b1f2dd9a69fa7daefe478d283735226f9f3
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Wed May 7 14:21:59 2008 +0800

    Use I830FALLBACK when check pitch for debug

diff --git a/src/i830.h b/src/i830.h
index 67241dd..a8a375b 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -867,13 +867,13 @@ Bool i830_pixmap_tiled(PixmapPtr p);
 
 #define i830_exa_check_pitch_2d(p) do {\
     uint32_t pitch = intel_get_pixmap_pitch(p);\
-    if (pitch > KB(32)) return FALSE;\
+    if (pitch > KB(32)) I830FALLBACK("pitch exceeds 2d limit 32K\n");\
 } while(0)
 
 /* For pre-965 chip only, as they have 8KB limit for 3D */
 #define i830_exa_check_pitch_3d(p) do {\
     uint32_t pitch = intel_get_pixmap_pitch(p);\
-    if (pitch > KB(8)) return FALSE;\
+    if (pitch > KB(8)) I830FALLBACK("pitch exceeds 3d limit 8K\n");\
 } while(0)
 
 /* Batchbuffer compatibility handling */


More information about the xorg-commit mailing list