diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-11-19 00:39:19 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-11-19 00:39:19 -0500 |
commit | f02f340e466a415b4e01648ca1e323f4ce125885 (patch) | |
tree | 7a0fc7bab9c5b5a659a6874a0b75be8c133e4ae5 /src/radeon_bios.c | |
parent | f3dd7f413b670eeb6b8639f6677d72050ad5fe04 (diff) |
Don't assign a gpio for TV
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 4dada7cb..a9da8893 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -227,7 +227,11 @@ static Bool RADEONGetATOMConnectorInfoFromBIOS (ScrnInfoPtr pScrn) id = (portinfo >> 8) & 0xf; tmp0 = RADEON_BIOS16(info->MasterDataStart + 24); gpio = RADEON_BIOS16(tmp0 + 4 + 27 * id) * 4; - info->BiosConnector[i].ddc_line = gpio; + /* don't assign a gpio for tv */ + if ((i == 2) && (i == 6) && (i == 8)) + info->BiosConnector[i].ddc_line = 0; + else + info->BiosConnector[i].ddc_line = gpio; info->BiosConnector[i].output_id = id; if (i == 3) |