summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorairlied <airlied@roo.(none)>2009-01-30 07:56:14 +1000
committerairlied <airlied@roo.(none)>2009-01-30 07:56:14 +1000
commit3a6e958c59b4b44fe620c8abe760ed1abf0007b1 (patch)
tree038dcd247be548e4e4b244b2cf252cdaba1ed5bc
parentbd8021d46e9066e4cd116c03a7b7adcfe2557aff (diff)
rs780: include RS780 in the InitMemory to leave alone
This stops the MC_FB_LOCATION getting reassigned to 0, which is really bad thing to happen. I've had reported memory corruption on these cards so hopefully this fixes it.
-rw-r--r--src/radeon_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 22b2e4c6..eda7b774 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -1293,7 +1293,8 @@ static void RADEONInitMemoryMap(ScrnInfoPtr pScrn)
if ((info->ChipFamily != CHIP_FAMILY_RS600) &&
(info->ChipFamily != CHIP_FAMILY_RS690) &&
- (info->ChipFamily != CHIP_FAMILY_RS740)) {
+ (info->ChipFamily != CHIP_FAMILY_RS740) &&
+ (info->ChipFamily != CHIP_FAMILY_RS780)) {
if (info->IsIGP)
info->mc_fb_location = INREG(RADEON_NB_TOM);
else