diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-11-16 02:43:00 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-11-16 02:43:00 -0500 |
commit | 7d06a8791839ce6b22e2449646832b79cebf1b21 (patch) | |
tree | 88f997df699448bc51c7938514ee199a67363fbc /src/radeon_bios.c | |
parent | 3e62730f79a13883a65a568bc821bc56055a4ab7 (diff) |
WIP: sync up with the latest ATOM bios code in rhd
doesn't compile ATM
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 52be98cc..061dc155 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -137,21 +137,20 @@ Bool RADEONGetBIOSInfo(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) if (info->IsAtomBios) { #if 1 - AtomBIOSArg atomBiosArg; + AtomBiosArgRec 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; - if (RHDAtomBIOSFunc(pScrn->scrnIndex, info->atomBIOS, ATOMBIOS_ALLOCATE_FB_SCRATCH, + if (RHDAtomBiosFunc(pScrn->scrnIndex, info->atomBIOS, ATOMBIOS_ALLOCATE_FB_SCRATCH, &atomBiosArg) == ATOM_SUCCESS) { info->FbFreeStart = atomBiosArg.fb.start; info->FbFreeSize = atomBiosArg.fb.size; } - //rhdTestAtomBIOS(info->atomBIOS); #endif info->MasterDataStart = RADEON_BIOS16 (info->ROMHeaderStart + 32); } |