diff options
author | Vladimir Dergachev <volodya@mindspring.com> | 2005-08-07 14:40:58 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@mindspring.com> | 2005-08-07 14:40:58 +0000 |
commit | a28b2c76c7df2fe65a93eed34bc85c2cf5afb314 (patch) | |
tree | 5597681acc7f5bdc754874ff604a455c1446fa37 /src | |
parent | 692fb0f8b51abeccaf70b51fc1defc62132b15e9 (diff) |
Modified:
programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
Properly configure fbLocation and related registers for R300 cards. (Dave
Airlie)
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_driver.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index f4b2edc8..e532c14b 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2224,21 +2224,6 @@ RADEONSetFBLocation(ScrnInfoPtr pScrn) * we just hardcode these values for now. * Need to revisit this whole function!!! */ - if (IS_R300_VARIANT) { - info->fbLocation = 0; - - if (!info->IsSecondary) { - RADEONWaitForIdleMMIO(pScrn); - OUTREG (RADEON_MC_FB_LOCATION, (INREG(RADEON_CONFIG_MEMSIZE) - 1) & 0xffff0000); - OUTREG(RADEON_DISPLAY_BASE_ADDR, info->fbLocation); - OUTREG(RADEON_DISPLAY2_BASE_ADDR, info->fbLocation); - OUTREG(RADEON_OV0_BASE_ADDR, info->fbLocation); - } - OUTREG (RADEON_BUS_CNTL, bus_cntl); - RADEONWaitForIdleMMIO(pScrn); - - return; - } if (info->IsIGP) { mc_fb_location = INREG(RADEON_NB_TOM); |