gxfb: move MSR bit fields into gxfb.h
This continues the gxfb header cleanups. MSRs are defined in geode.h; the specific bits we care about are defined in gxfb.h. Signed-off-by: Andres Salomon <dilinger@debian.org> Cc: Jordan Crouse <jordan.crouse@amd.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
d255114f22
commit
9f1277bd14
@@ -187,8 +187,8 @@ gx_configure_tft(struct fb_info *info)
|
||||
/* Set up the DF pad select MSR */
|
||||
|
||||
rdmsrl(MSR_GX_MSR_PADSEL, val);
|
||||
val &= ~GX_VP_PAD_SELECT_MASK;
|
||||
val |= GX_VP_PAD_SELECT_TFT;
|
||||
val &= ~MSR_GX_MSR_PADSEL_MASK;
|
||||
val |= MSR_GX_MSR_PADSEL_TFT;
|
||||
wrmsrl(MSR_GX_MSR_PADSEL, val);
|
||||
|
||||
/* Turn off the panel */
|
||||
|
Reference in New Issue
Block a user