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

2007-09-06 Thread Benjamin Herrenschmidt
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.
> 
> Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]>

Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>

> ---
>  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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2007-09-04 Thread aherrman
As observed with various Radeon X300: console goes blank
without fixing setting of PPLL_REF_DIV.

Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]>
---
 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/