summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@mindspring.com>2005-08-07 14:40:58 +0000
committerVladimir Dergachev <volodya@mindspring.com>2005-08-07 14:40:58 +0000
commita28b2c76c7df2fe65a93eed34bc85c2cf5afb314 (patch)
tree5597681acc7f5bdc754874ff604a455c1446fa37 /src/radeon_driver.c
parent692fb0f8b51abeccaf70b51fc1defc62132b15e9 (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/radeon_driver.c')
-rw-r--r--src/radeon_driver.c15
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);