diff options
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 2b7be55c..7d6c32d7 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3996,7 +3996,7 @@ void RADEONRestoreMemMapRegisters(ScrnInfoPtr pScrn, restore->mc_agp_location, restore->mc_agp_location_hi); - OUTREG(R600_HDP_NONSURFACE_BASE, (restore->mc_fb_location << 16) & 0xff0000); + OUTREG(R600_HDP_NONSURFACE_BASE, (restore->mc_fb_location & 0xffff) << 16); } } else if (IS_AVIVO_VARIANT) { |