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>
This commit is contained in:
committed by
Linus Torvalds
parent
c87ce65868
commit
f2740e45ae
@@ -1285,7 +1285,8 @@ static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg
|
|||||||
if (rinfo->family == CHIP_FAMILY_R300 ||
|
if (rinfo->family == CHIP_FAMILY_R300 ||
|
||||||
rinfo->family == CHIP_FAMILY_RS300 ||
|
rinfo->family == CHIP_FAMILY_RS300 ||
|
||||||
rinfo->family == CHIP_FAMILY_R350 ||
|
rinfo->family == CHIP_FAMILY_R350 ||
|
||||||
rinfo->family == CHIP_FAMILY_RV350) {
|
rinfo->family == CHIP_FAMILY_RV350 ||
|
||||||
|
rinfo->family == CHIP_FAMILY_RV380 ) {
|
||||||
if (mode->ppll_ref_div & R300_PPLL_REF_DIV_ACC_MASK) {
|
if (mode->ppll_ref_div & R300_PPLL_REF_DIV_ACC_MASK) {
|
||||||
/* When restoring console mode, use saved PPLL_REF_DIV
|
/* When restoring console mode, use saved PPLL_REF_DIV
|
||||||
* setting.
|
* setting.
|
||||||
|
Reference in New Issue
Block a user