diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-08-25 03:34:58 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-08-25 03:34:58 +0000 |
commit | 6519cc71e4387ef979de90be517145611511ff1a (patch) | |
tree | 2c75e5e15cf4bc1e66c8ac39b0aab547dc396e8e /src | |
parent | 8734a5d0bafb60f5e38b2cee10587f01fc016379 (diff) |
Fix bug in Radeon connector table parsing -- parse all entries, not just
the first. (Ben Herrenschmidt)
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_bios.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 7c4f66d8..787514d6 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -216,7 +216,8 @@ Bool RADEONGetConnectorInfoFromBIOS (ScrnInfoPtr pScrn) if ((tmp = RADEON_BIOS16(info->ROMHeaderStart + 0x50))) { for (i = 1; i < 4; i++) { - if (!RADEON_BIOS8(tmp + i*2) && i > 1) break; /* end of table */ + if (!RADEON_BIOS16(tmp + i*2)) + break; /* end of table */ tmp0 = RADEON_BIOS16(tmp + i*2); if (((tmp0 >> 12) & 0x0f) == 0) continue; /* no connector */ |