Skip to contentSkip to conversation

radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60

PATCH New [email protected] 1 participant 1 message Sep 11, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60

IMHO this is 2.6.23 material. Please apply.
Thanks a lot.

Regards,

Andreas

--
radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60.

As observed with various Radeon X300 cards console goes blank without that fix.

---
 drivers/video/aty/radeon_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/aty/radeon_base.c +2 -1
index 47ca62f..5a8af4d 100644
@@ -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.
Signature · 1 line
1.5.1.6