public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60
@ 2007-09-11 18:22 aherrman
  0 siblings, 0 replies; only message in thread
From: aherrman @ 2007-09-11 18:22 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, Benjamin Herrenschmidt

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.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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 47ca62f..5a8af4d 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -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.
-- 
1.5.1.6



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-11 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 18:22 [PATCH] radeonfb: fix setting of PPLL_REF_DIV for RV370 5B60 aherrman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox