summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-06-05 18:31:53 +1000
committerDave Airlie <airlied@linux.ie>2008-06-05 18:31:53 +1000
commita54ca3c699c103e2e3df87101dca929a3eee4377 (patch)
tree7424269b115abb6f3606d87b7a02d4c1dce24a2f
parent6e4e6d2a8f29f92efc219dca24ea31d1f37d5a0f (diff)
radeon: fix typo in memory calcs
noticed by ghepeu on irc.
-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 64010fa4..25165905 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -1398,7 +1398,7 @@ static void RADEONGetVRamType(ScrnInfoPtr pScrn)
case 1: info->RamWidth = 128; break;
default: info->RamWidth = 128; break;
}
- } else if ((info->ChipFamily >= CHIP_FAMILY_R520) ||
+ } else if ((info->ChipFamily >= CHIP_FAMILY_R520) &&
(info->ChipFamily <= CHIP_FAMILY_RV570)){
/* r520/rv530/rv560/rv570/r580 */
tmp = INMC(pScrn, R520_MC_CNTL0);