diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-19 15:48:34 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-19 15:48:34 -0300 |
commit | 782ef31a9273e33100ae6b4bd20a4d1d3f493aa4 (patch) | |
tree | 1a49e006fd7a44e4b3f2d73142558e6b3d1b4beb /src | |
parent | 5d9ab8195e692f78dd7e57e7d17d8b46f7f59221 (diff) |
Add initial exa support for SMI501.
This just allows exa to run, with a minimal ammount of features avaiable.
Diffstat (limited to 'src')
-rw-r--r-- | src/smi_exa.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/smi_exa.c b/src/smi_exa.c index 01b9017..9b50344 100644 --- a/src/smi_exa.c +++ b/src/smi_exa.c @@ -90,9 +90,11 @@ SMI_EXAInit(ScreenPtr pScreen) pSmi->EXADriverPtr->flags = EXA_TWO_BITBLT_DIRECTIONS; if (pSmi->EXADriverPtr->memorySize > pSmi->EXADriverPtr->offScreenBase) { /* Offscreen Pixmaps */ - pSmi->EXADriverPtr->flags |= EXA_OFFSCREEN_PIXMAPS; - xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "EXA offscreen memory manager enabled.\n"); + if (!IS_MSOC(pSmi)) { + pSmi->EXADriverPtr->flags |= EXA_OFFSCREEN_PIXMAPS; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "EXA offscreen memory manager enabled.\n"); + } } else { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Not enough video RAM for EXA offscreen memory manager.\n"); @@ -151,7 +153,7 @@ SMI_EXASync(ScreenPtr pScreen, int marker) ENTER_PROC("SMI_EXASync"); - WaitIdleEmpty(); + SMI_AccelSync(pScrn); LEAVE_PROC("SMI_EXASync"); } |