summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-08-10 20:02:51 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-08-10 20:02:51 +0200
commitdb87a5ac8feca5f0126c7af4c51f69222fae7dd9 (patch)
treed6e1878ed937ba279def9a2117a8839d3dd4d895
parent84ec0db961de3b10ac02ec5ae6adcec5cc439069 (diff)
Wait until the DMA engine is idle in mgaWaitMarker.
-rw-r--r--src/mga_exa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index ee7aa0b..85d0411 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -671,6 +671,10 @@ mgaDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, char *dst,
static void
mgaWaitMarker(ScreenPtr pScreen, int marker)
{
+ ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+
+ /* FIXME: is this correct? */
+ CHECK_DMA_QUIESCENT(MGAPTR(pScrn), pScrn);
}
Bool