[PATCH] [LXFB] Use the correct MSR number for panel support

Previous thread: Re: Is gcc thread-unsafe? by Bart Van Assche on Friday, October 26, 2007 - 10:40 am. (22 messages)

Next thread: [0/2] [CRYPTO] users: Fix up remaining sg issues by Herbert Xu on Friday, October 26, 2007 - 10:59 am. (1 message)
To: <linux-fbdev-devel@...>
Cc: <linux-kernel@...>, <tibor.osztodi@...>, <linux-info@...>
Date: Friday, October 26, 2007 - 10:53 am

From: Jordan Crouse <jordan.crouse@amd.com>

A relatively recent version of the Geode LX datasheet listed the wrong
address for one of the MSRs that controls TFT panels, resulting in
breakage. This patch corrects the MSR address.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
---

drivers/video/geode/lxfb.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h
index 6c227f9..ca13c48 100644
--- a/drivers/video/geode/lxfb.h
+++ b/drivers/video/geode/lxfb.h
@@ -33,7 +33,7 @@ void lx_set_palette_reg(struct fb_info *, unsigned int, unsigned int,

#define MSR_LX_GLD_CONFIG 0x48002001
#define MSR_LX_GLCP_DOTPLL 0x4c000015
-#define MSR_LX_DF_PADSEL 0x48000011
+#define MSR_LX_DF_PADSEL 0x48002011
#define MSR_LX_DC_SPARE 0x80000011
#define MSR_LX_DF_GLCONFIG 0x48002001

-

To: Jordan Crouse <jordan.crouse@...>
Cc: <linux-fbdev-devel@...>, <linux-kernel@...>, <tibor.osztodi@...>, <linux-info@...>
Date: Monday, October 29, 2007 - 8:02 pm

Please put MSR indicies in <asm-x86/msr-index.h> and/or a separate
include file.

-hpa
-

To: <linux-fbdev-devel@...>
Cc: <linux-info@...>, <linux-kernel@...>, <tibor.osztodi@...>
Date: Tuesday, October 30, 2007 - 5:33 pm

The Geode has zillions upon zillions of MSRs (all of them being Geode
specific), so putting them in asm-x86/msr-index.h would be a bad idea
for both you and me. But tossing them into a asm-x86/geode-msr.h file
would be good for 2.6.25. I'll get working on that.

In the mean time, this particular #define is already in the tree, and this
patch fixes serious breakage, so I would really like to see it hit 2.6.24,
if we can.

Jordan

--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.

-

Previous thread: Re: Is gcc thread-unsafe? by Bart Van Assche on Friday, October 26, 2007 - 10:40 am. (22 messages)

Next thread: [0/2] [CRYPTO] users: Fix up remaining sg issues by Herbert Xu on Friday, October 26, 2007 - 10:59 am. (1 message)