diff options
author | Dave Airlie <airlied@linux.ie> | 2006-11-03 19:14:38 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-11-03 19:14:38 -0800 |
commit | 1fe41408ffbac1289d056658a5f2c8e3befdbffd (patch) | |
tree | db90922b15bc3254e1ef94599053033a7dc2e86d | |
parent | a22248f04fe6003306255fecaf590b5796cd5c53 (diff) |
adsd fw_cntl and TMDS external detect
-rw-r--r-- | radeon_reg.h | 2 | ||||
-rw-r--r-- | radeontool.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/radeon_reg.h b/radeon_reg.h index b1dd816..f0465af 100644 --- a/radeon_reg.h +++ b/radeon_reg.h @@ -135,6 +135,8 @@ #define RADEON_ADAPTER_ID 0x0f2c /* PCI */ +#define RADEON_FW_CNTL 0x118 +#define RADEON_FW_STATUS 0x11c #define RADEON_AGP_BASE 0x0170 #define RADEON_AGP_CNTL 0x0174 # define RADEON_AGP_APER_SIZE_256MB (0x00 << 0) diff --git a/radeontool.c b/radeontool.c index 3c81b43..7f322f6 100644 --- a/radeontool.c +++ b/radeontool.c @@ -352,6 +352,8 @@ static struct { REGLIST(FP_VERT_STRETCH), REGLIST(FP_V2_SYNC_STRT_WID), REGLIST(FP_VERT2_STRETCH), + REGLIST(FW_CNTL), + REGLIST(FW_STATUS), REGLIST(GEN_INT_CNTL), REGLIST(GEN_INT_STATUS), REGLIST(GENENB), @@ -1074,6 +1076,13 @@ static void radeon_rom_legacy_dfptable(unsigned char *bios, int hdr) } } +static void radeon_rom_legacy_exttmdstable(unsigned char *bios, int hdr) +{ + if (BIOS16(hdr + 0x58)) { + printf("Found External TMDS Table\n"); + } + +} void radeon_rom_tables(const char * file) { @@ -1117,6 +1126,7 @@ void radeon_rom_tables(const char * file) radeon_rom_legacy_clocks(bios, hdr); radeon_rom_legacy_connectors(bios, hdr); radeon_rom_legacy_dfptable(bios, hdr); + radeon_rom_legacy_exttmdstable(bios, hdr); } } |