diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-08-08 15:50:07 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-08 15:50:07 -0400 |
commit | 268c848130ec1770bb645a74197b6aca7fc95abc (patch) | |
tree | 81d48f79e479a9c4328876a4971bd457257cf7d5 /src/radeon.h | |
parent | 33f88f7fc90d9d93fdcbba9ad59dd70a6596bc3f (diff) |
Fix VT switching on M6 chips
Some M6 chips have a faulty MEM_SIZE register that in
some cases reports 0 on 8 MB cards. On EnterVT we check
the MEM_SIZE reg as a check to see if the card is posted or
not. Since this reg returns 0, the driver attempts to post
the card which can lead to a hang. Switch this to check if
either crtc is active as is done in the bios init code.
fixes bug 13994
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 8f25fdf7..d53688ee 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -901,6 +901,7 @@ extern Bool RADEONGetTMDSInfoFromBIOS(xf86OutputPtr output); extern Bool RADEONGetTVInfoFromBIOS(xf86OutputPtr output); extern Bool RADEONInitExtTMDSInfoFromBIOS (xf86OutputPtr output); extern Bool RADEONPostCardFromBIOSTables(ScrnInfoPtr pScrn); +extern Bool radeon_card_posted(ScrnInfoPtr pScrn); /* radeon_commonfuncs.c */ #ifdef XF86DRI |