diff options
author | Thomas Hellström <thomas@shipmail.org> | 2006-01-29 15:57:39 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@shipmail.org> | 2006-01-29 15:57:39 +0000 |
commit | f59b7f22e84dfd473da7b097df969fbe11b5f2d2 (patch) | |
tree | 5c2279d3cbd6c793ba01e6ca7647387a02a140d7 | |
parent | fcc307ea75404d8a7be7d7fae02eebf89ee2fc7a (diff) |
- Minor bugfixes.exa_branch
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | unichrome/via_accel.c | 5 | ||||
-rw-r--r-- | unichrome/via_driver.c | 6 |
3 files changed, 11 insertions, 7 deletions
@@ -1,3 +1,10 @@ +2006-01-29 Thomas Hellström <thomas-at-tungstengraphics-dot-com> + + * unichrome/via_accel.c: (viaInitExa): + * unichrome/via_driver.c: (VIAPreInit): + + - Minor bugfixes. + 2006-01-27 Thomas Hellström <thomas-at-tungstengraphics-dot-com> * unichrome/via.man: diff --git a/unichrome/via_accel.c b/unichrome/via_accel.c index 65a6670..61f8524 100644 --- a/unichrome/via_accel.c +++ b/unichrome/via_accel.c @@ -41,8 +41,6 @@ #include "via_regs.h" #include "via_id.h" #include "via_dmabuffer.h" -#include <time.h> -#include <sys/time.h> #ifdef X_HAVE_XAAGETROP #define VIAACCELPATTERNROP(vRop) (XAAGetPatternROP(vRop) << 24) @@ -2123,11 +2121,12 @@ viaInitExa(ScreenPtr pScreen) pExa->accel.UploadToScratch = viaExaUploadToScratch; if (!pVia->noComposite) { - xf86DrvMsg(pScrn->scrnIndex, X_INFO,"[EXA] Disabling EXA accelerated composite.\n"); pExa->accel.CheckComposite = viaExaCheckComposite; pExa->accel.PrepareComposite = viaExaPrepareComposite; pExa->accel.Composite = viaExaComposite; pExa->accel.DoneComposite = viaExaDoneSolidCopy; + } else { + xf86DrvMsg(pScrn->scrnIndex, X_INFO,"[EXA] Disabling EXA accelerated composite.\n"); } if (!exaDriverInit(pScreen, pExa)) { diff --git a/unichrome/via_driver.c b/unichrome/via_driver.c index f0859da..8bec836 100644 --- a/unichrome/via_driver.c +++ b/unichrome/via_driver.c @@ -916,10 +916,8 @@ static Bool VIAPreInit(ScrnInfoPtr pScrn, int flags) if (pVia->useEXA) { if (xf86ReturnOptValBool(VIAOptions, OPTION_EXA_NOCOMPOSITE, FALSE)) { pVia->noComposite = TRUE; - if (pVia->agpEnable) { - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, - "Option: ExaNoComposite - Disable Composite acceleration for EXA\n"); - } + xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, + "Option: ExaNoComposite - Disable Composite acceleration for EXA\n"); } else { pVia->noComposite = FALSE; } |