diff options
author | aherrman@arcor.de <aherrman@arcor.de> | 2007-09-11 14:22:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-13 11:00:42 -0400 |
commit | f2740e45ae59d76ce4303d83824d3625b23334e5 (patch) | |
tree | 51205c5f864e1b04d6522ecaaa3c361adf65f284 /drivers/video/aty | |
parent | c87ce65868bbf9bbea9c3f112ff8315302daf8f2 (diff) |
radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60.
As observed with various Radeon X300 cards console goes blank
without that fix.
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/radeon_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 47ca62fe7c3e..5a8af4da4ce8 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -1285,7 +1285,8 @@ static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg | |||
1285 | if (rinfo->family == CHIP_FAMILY_R300 || | 1285 | if (rinfo->family == CHIP_FAMILY_R300 || |
1286 | rinfo->family == CHIP_FAMILY_RS300 || | 1286 | rinfo->family == CHIP_FAMILY_RS300 || |
1287 | rinfo->family == CHIP_FAMILY_R350 || | 1287 | rinfo->family == CHIP_FAMILY_R350 || |
1288 | rinfo->family == CHIP_FAMILY_RV350) { | 1288 | rinfo->family == CHIP_FAMILY_RV350 || |
1289 | rinfo->family == CHIP_FAMILY_RV380 ) { | ||
1289 | if (mode->ppll_ref_div & R300_PPLL_REF_DIV_ACC_MASK) { | 1290 | if (mode->ppll_ref_div & R300_PPLL_REF_DIV_ACC_MASK) { |
1290 | /* When restoring console mode, use saved PPLL_REF_DIV | 1291 | /* When restoring console mode, use saved PPLL_REF_DIV |
1291 | * setting. | 1292 | * setting. |