diff options
author | Alex Deucher <alex@botch2.com> | 2007-08-11 17:50:42 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-08-11 17:50:42 -0400 |
commit | b7738d2ef82e1759adf78e5db1291f8739b4166f (patch) | |
tree | a2ea5a77c88be49058e1cf24d529c53ed3257a35 /src/radeon_bios.c | |
parent | c01000bc684f6a23a38a52f0808182cefaa686bb (diff) |
RADEON: fix connector setup when there's no bios tables
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 2d7f195..9d8946f 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -227,6 +227,8 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn) RADEONInfoPtr info = RADEONPTR (pScrn); int offset, i, entry, tmp, tmp0, tmp1; + if (!info->VBIOS) return FALSE; + offset = RADEON_BIOS16(info->ROMHeaderStart + 0x50); if (offset) { for (i = 0; i < 4; i++) { |