linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/4] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60
@ 2007-09-04 11:00 aherrman
  2007-09-04 13:47 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: aherrman @ 2007-09-04 11:00 UTC (permalink / raw)
  To: benh, linux-fbdev-devel, linux-kernel

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

Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
---
 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 f672c0c..71b0c17 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -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.
-- 
1.5.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/4] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60
  2007-09-04 11:00 [PATCH 3/4] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60 aherrman
@ 2007-09-04 13:47 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2007-09-04 13:47 UTC (permalink / raw)
  To: aherrman; +Cc: linux-fbdev-devel, linux-kernel

On Tue, 2007-09-04 at 13:00 +0200, aherrman@arcor.de wrote:
> As observed with various Radeon X300: console goes blank
> without fixing setting of PPLL_REF_DIV.
> 
> Signed-off-by: Andreas Herrmann <aherrman@arcor.de>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

> ---
>  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 f672c0c..71b0c17 100644
> --- a/drivers/video/aty/radeon_base.c
> +++ b/drivers/video/aty/radeon_base.c
> @@ -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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-06 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 11:00 [PATCH 3/4] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60 aherrman
2007-09-04 13:47 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).