diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-09-19 19:28:09 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-19 19:28:09 -0400 |
commit | 5a59547ef7e986c9613023d941c3354cd476faf1 (patch) | |
tree | d118ac65283bca58c5cc8d1907fb34d3beb580f3 /src/radeon_bios.c | |
parent | dc333884c540d536bffe51a5ebfaf1822af6a91c (diff) |
Revert "RADEON: initial pass at external TMDS support"
This reverts commit 4000a710c93dd2d82891e4082bc7fa922ba9c5f4.
This needs to be reworked and needs more soak time. so revert
for now.
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 1ca9e7e3..07fbb52c 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -896,47 +896,6 @@ Bool RADEONGetTMDSInfoFromBIOS (xf86OutputPtr output) return FALSE; } -Bool RADEONGetExtTMDSInfoFromBIOS (xf86OutputPtr output) -{ - ScrnInfoPtr pScrn = output->scrn; - RADEONInfoPtr info = RADEONPTR(pScrn); - RADEONOutputPrivatePtr radeon_output = output->driver_private; - int offset, table_start, max_freq, gpio_reg, flags; - - if (!info->VBIOS) return FALSE; - - if (info->IsAtomBios) { - return FALSE; - } else { - offset = RADEON_BIOS16(info->ROMHeaderStart + 0x58); - if (offset) { - table_start = offset + 4; - max_freq = RADEON_BIOS16(table_start); - radeon_output->dvo_slave_addr = RADEON_BIOS8(table_start+2); - gpio_reg = RADEON_BIOS8(table_start+3); - if (gpio_reg == 1) - radeon_output->dvo_i2c_reg = RADEON_GPIO_MONID; - else if (gpio_reg == 2) - radeon_output->dvo_i2c_reg = RADEON_GPIO_DVI_DDC; - else if (gpio_reg == 3) - radeon_output->dvo_i2c_reg = RADEON_GPIO_VGA_DDC; - else if (gpio_reg == 4) - radeon_output->dvo_i2c_reg = RADEON_GPIO_CRT2_DDC; - /*else if (gpio_reg == 5) - radeon_output->dvo_i2c_reg = RADEON_GPIO_MM;*/ - else { - ErrorF("unknown gpio reg: %d\n", gpio_reg); - return FALSE; - } - flags = RADEON_BIOS8(table_start+5); - /* XXX: init command list */ - return TRUE; - } - } - - return FALSE; -} - /* support for init from bios tables * * Based heavily on the netbsd radeonfb driver |