xf86-video-intel: Branch 'exa' - src/i830_driver.c

Zhenyu Wang zhen at kemper.freedesktop.org
Thu Jul 20 21:47:41 PDT 2006


 src/i830_driver.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

New commits:
diff-tree 4f0ad337098eb0bacb1c11bc61d780ac18041e1d (from 914327f40d07a3f7c069752ce005bf8e21352b03)
Author: Wang Zhenyu <zhenyu.z.wang at intel.com>
Date:   Fri Jul 21 11:59:04 2006 +0800

    fixup segfault in xaa when xaa not initialized in i830WaitSync.

diff --git a/src/i830_driver.c b/src/i830_driver.c
index b7a8097..ed85585 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -6425,7 +6425,8 @@ i830WaitSync(ScrnInfoPtr pScrn)
    I830Ptr pI830 = I830PTR(pScrn);
 
 #ifdef I830_USE_XAA
-   if (!pI830->noAccel && !pI830->useEXA && pI830->AccelInfoRec->NeedToSync) {
+   if (!pI830->noAccel && !pI830->useEXA && pI830->AccelInfoRec 
+	&& pI830->AccelInfoRec->NeedToSync) {
       (*pI830->AccelInfoRec->Sync)(pScrn);
       pI830->AccelInfoRec->NeedToSync = FALSE;
    }



More information about the xorg-commit mailing list