diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-09-08 17:50:50 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-08 17:52:02 -0400 |
commit | fad9ee6cdae5ae45e6406e3071a84276f1b59a85 (patch) | |
tree | fe5ac94d54165184773a4f09c137df7426c983c0 /src/radeon_driver.c | |
parent | 651fe5a47435c6a5cc1cdfb33c5c6601d692adcb (diff) |
radeon: replace dga code with DiDGA
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index e766093..67fb9b7 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3754,9 +3754,9 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, } /* DGA setup */ - xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, - "Initializing DGA\n"); - RADEONDGAInit(pScreen); +#ifdef XFreeXDGA + xf86DiDGAInit(pScreen, info->LinearAddr + pScrn->fbOffset); +#endif /* Init Xv */ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, @@ -5880,10 +5880,6 @@ static Bool RADEONCloseScreen(int scrnIndex, ScreenPtr pScreen) info->cursor = NULL; xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, - "Disposing DGA\n"); - if (info->DGAModes) xfree(info->DGAModes); - info->DGAModes = NULL; - xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, "Unmapping memory\n"); RADEONUnmapMem(pScrn); |