diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-11-20 15:09:41 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:21 +0200 |
commit | c9a9ea5ebd1c27881c1fac19842cfa3af55c126e (patch) | |
tree | 932242627308bbefcf8ee59cde16a512eecd5f97 /src/atiscreen.c | |
parent | 383e963e275d351ea3631c352f5795340162d69f (diff) |
Banked memory is no longer needed.
- (pATI->BankInfo.BankSize = 0) in all cases, cull pATI->BankInfo
- only keep the minimal pATIHW.SetBank interface for save/restore
- clean ATISwap() a little, (NewHW.crtc != ATI_CRTC_VGA)
- (UseSmallApertures == TRUE) <=> pATI->VGAAdapter
Diffstat (limited to 'src/atiscreen.c')
-rw-r--r-- | src/atiscreen.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/atiscreen.c b/src/atiscreen.c index b9984ae9..e8499415 100644 --- a/src/atiscreen.c +++ b/src/atiscreen.c @@ -63,7 +63,6 @@ #include "fb.h" -#include "mibank.h" #include "micmap.h" #include "mipointer.h" @@ -136,11 +135,6 @@ ATIMach64SetupMemXAA_NoDRI int maxScanlines = ATIMach64MaxY; int maxPixelArea, PixelArea; -#ifndef AVOID_CPIO - - if (!pATI->BankInfo.BankSize) - -#endif /* AVOID_CPIO */ { /* * Note: If PixelArea exceeds the engine's maximum, the excess is @@ -500,19 +494,6 @@ ATIScreenInit "RENDER extension not supported with a shadowed" " framebuffer.\n"); } - -#ifndef AVOID_CPIO - - else if (pATI->BankInfo.BankSize) - { - if (serverGeneration == 1) - xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING, - "RENDER extension not supported with a banked" - " framebuffer.\n"); - } - -#endif /* AVOID_CPIO */ - else if (!fbPictureInit(pScreen, NULL, 0) && (serverGeneration == 1)) { @@ -523,16 +504,6 @@ ATIScreenInit xf86SetBlackWhitePixels(pScreen); -#ifndef AVOID_CPIO - - /* Initialise banking if needed */ - if (!miInitializeBanking(pScreen, - pScreenInfo->virtualX, pScreenInfo->virtualY, - pATI->displayWidth, &pATI->BankInfo)) - return FALSE; - -#endif /* AVOID_CPIO */ - #ifdef USE_XAA if (!pATI->useEXA) { |