diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-11-03 20:46:17 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-11-03 20:46:17 -0400 |
commit | 5e9ebd8e496b72b051053d637c63b2956b7861d3 (patch) | |
tree | 51014c9d819e48a4f6eda30849fe87275f4473cf /src/radeon_bios.c | |
parent | c106075ccb81ca2ee4894743e676fd37653c8dce (diff) |
Initial support for r4xx
- add r3xx/r4xx MC access macros and functions
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 3965263..ec30218 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -132,12 +132,16 @@ Bool RADEONGetBIOSInfo(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) else info->IsAtomBios = FALSE; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "%s BIOS detected\n", + info->IsAtomBios ? "ATOM":"Legacy"); + if (info->IsAtomBios) { +#if 1 AtomBIOSArg atomBiosArg; - if (RHDAtomBIOSFunc(pScrn->scrnIndex, NULL, ATOMBIOS_INIT, &atomBiosArg) == ATOM_SUCCESS) { + if (RHDAtomBIOSFunc(pScrn->scrnIndex, NULL, ATOMBIOS_INIT, &atomBiosArg) == ATOM_SUCCESS) { info->atomBIOS = atomBiosArg.ptr; - } + } atomBiosArg.fb.start = info->FbFreeStart; atomBiosArg.fb.size = info->FbFreeSize; @@ -148,12 +152,10 @@ Bool RADEONGetBIOSInfo(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) info->FbFreeSize = atomBiosArg.fb.size; } rhdTestAtomBIOS(info->atomBIOS); +#endif info->MasterDataStart = RADEON_BIOS16 (info->ROMHeaderStart + 32); } - xf86DrvMsg(pScrn->scrnIndex, X_INFO, "%s BIOS detected\n", - info->IsAtomBios ? "ATOM":"Legacy"); - return TRUE; } |