summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-11-19 13:44:38 +1000
committerDave Airlie <airlied@redhat.com>2007-11-19 13:44:38 +1000
commit459a30ba511fe2fa8051380a9741fcfd9bb401ef (patch)
tree7c6587d7853dd3d91fe06ab206665b6b98e1dab1
parente73bf6290da20dd61798ace775999ce1cb550934 (diff)
fix type for r520 agp code
-rw-r--r--src/radeon_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index de75ee3b..69f8c768 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4136,7 +4136,7 @@ static void RADEONAdjustMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save)
agp = INMC(pScrn, RV515_MC_AGP_LOCATION);
} else {
fb = INMC(pScrn, R520_MC_FB_LOCATION);
- agp = INMC(pScrn, RV515_MC_AGP_LOCATION);
+ agp = INMC(pScrn, R520_MC_AGP_LOCATION);
}
fb_loc_changed = (fb != info->mc_fb_location);