Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2740e45 authored by aherrman@arcor.de's avatar aherrman@arcor.de Committed by Linus Torvalds
Browse files

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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndreas Herrmann <aherrman@arcor.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c87ce658
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1285,7 +1285,8 @@ static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg
	if (rinfo->family == CHIP_FAMILY_R300 ||
	    rinfo->family == CHIP_FAMILY_RS300 ||
	    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) {
			/* When restoring console mode, use saved PPLL_REF_DIV
			 * setting.