From a28b2c76c7df2fe65a93eed34bc85c2cf5afb314 Mon Sep 17 00:00:00 2001 From: Vladimir Dergachev Date: Sun, 7 Aug 2005 14:40:58 +0000 Subject: Modified: programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Properly configure fbLocation and related registers for R300 cards. (Dave Airlie) --- src/radeon_driver.c | 15 --------------- 1 file changed, 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); -- cgit v1.2.3