diff options
author | Vladimir Dergachev <volodya@mindspring.com> | 2004-10-03 00:01:14 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@mindspring.com> | 2004-10-03 00:01:14 +0000 |
commit | 7cb911291d459f08f54444d09081d3378fe73b8b (patch) | |
tree | 4446325c8fd4a22cc8b758d12b0a445f21399c74 /src/radeon_driver.c | |
parent | 6c1996174b9f7afc8f4e33c35e4864b31696d4d6 (diff) |
Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.[c,h]
xc/programs/Xserver/hw/xfree86/drivers/ati/theatre.c Detect and initialize
Rage Theatre (RT100)
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 01e7e872..ee932f3d 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -4037,7 +4037,8 @@ static Bool RADEONPreInitXv(ScrnInfoPtr pScrn) RADEONInfoPtr info = RADEONPTR(pScrn); CARD16 mm_table; CARD16 bios_header; - + CARD16 pll_info_block; + /* Rescue MM_TABLE before VBIOS is freed */ info->MM_TABLE_valid = FALSE; @@ -4086,6 +4087,12 @@ static Bool RADEONPreInitXv(ScrnInfoPtr pScrn) info->MM_TABLE_valid = FALSE; } + pll_info_block=info->VBIOS[bios_header+0x30]; + pll_info_block+=(((int)info->VBIOS[bios_header+0x31]+0)<<8); + + info->video_decoder_type=info->VBIOS[pll_info_block+0x08]; + info->video_decoder_type+=(((int)info->VBIOS[pll_info_block+0x09]+0)<<8); + return TRUE; } |