Blob Blame History Raw
From 3a6e958c59b4b44fe620c8abe760ed1abf0007b1 Mon Sep 17 00:00:00 2001
From: airlied <airlied@roo.(none)>
Date: Fri, 30 Jan 2009 07:56:14 +1000
Subject: [PATCH] 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.
---
 src/radeon_driver.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 22b2e4c..eda7b77 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
-- 
1.6.0.4