[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20090224.git703acea1-15-g25c4b0e

Lars-Peter Clausen lars at metafoo.de
Mon May 18 16:46:41 UTC 2009


The following commit has been merged in the master branch:
commit 9491d818583114e429db1330dc5e07b4668dfa35
Author: Lars-Peter Clausen <lars at metafoo.de>
Date:   Tue May 5 01:07:10 2009 +0200

    Only waiting for the cmdq engine to be finished when dispatching the queue
    causes visual artifactes sometimes. Waiting for all engines to be finished seems
    to fix the issue.

diff --git a/src/glamo-cmdq.c b/src/glamo-cmdq.c
index f423aae..38950d7 100644
--- a/src/glamo-cmdq.c
+++ b/src/glamo-cmdq.c
@@ -120,7 +120,9 @@ GLAMODispatchCMDQ(GlamoPtr pGlamo)
     } else {
         memcpy(pGlamo->ring_addr + ring_write, addr, count);
     }
-    GLAMOEngineWait(pGlamo, GLAMO_ENGINE_CMDQ);
+    /* In Theory waiting for the CMDQ to be ready should be enough, but
+     * unfortunally this causes visual artifacts sometimes */
+    GLAMOEngineWait(pGlamo, GLAMO_ENGINE_ALL);
     MMIOSetBitMask(mmio, GLAMO_REG_CLOCK_2D,
 					GLAMO_CLOCK_2D_EN_M6CLK,
 					0);

-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org



More information about the pkg-fso-commits mailing list