Skip to contentSkip to conversation

radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60

PATCH In review [email protected] 2 participants 2 messages Sep 4, 2007 – Sep 6, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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

As observed with various Radeon X300: console goes blank without fixing setting of PPLL_REF_DIV.

---
 drivers/video/aty/radeon_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/aty/radeon_base.c +2 -1
index f672c0c..71b0c17 100644
@@ -1287,7 +1287,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.3
Acked-by on v1 3/4
#1 lore raw
Quoted 4 lines · On Tue, 2007-09-04 at 13:00 +0200, [email protected] wrote:

As observed with various Radeon X300: console goes blank without fixing setting of PPLL_REF_DIV.

Quoted 9 lines
---
 drivers/video/aty/radeon_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/aty/radeon_base.c +0 -0
index f672c0c..71b0c17 100644

drivers/video/aty/radeon_base.c static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_reg · line 1294

Quoted 9 lines
drivers/video/aty/radeon_base.c +2 -1
@@ -1287,7 +1287,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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/