aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/geode/video_gx.h
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2006-12-08 05:40:53 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:29:08 -0500
commitf378819a19e2b9639f17a1a82c5e12adc9512390 (patch)
treeef6278a50642f63d3ae1667fe33e92fb78536f5b /drivers/video/geode/video_gx.h
parent4c1979c8963528cc6f52203ae62162ed22e171f4 (diff)
[PATCH] gxfb: Fixups for the AMD Geode GX framebuffer driver
We cannot assume that the BIOS will be correctly setting up the hardware, so set some bits in various display registers to enable video output. Allow an advanced user to specify a frambuffer size, rather then probing the BIOS. All of these fixes were prompted by the OLPC effort. [akpm@osdl.org: cleanups] Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/geode/video_gx.h')
-rw-r--r--drivers/video/geode/video_gx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/geode/video_gx.h b/drivers/video/geode/video_gx.h
index 2d9211f3ed84..238181a7d536 100644
--- a/drivers/video/geode/video_gx.h
+++ b/drivers/video/geode/video_gx.h
@@ -28,6 +28,13 @@ extern struct geode_vid_ops gx_vid_ops;
28# define GX_DCFG_GV_GAM 0x00200000 28# define GX_DCFG_GV_GAM 0x00200000
29# define GX_DCFG_DAC_VREF 0x04000000 29# define GX_DCFG_DAC_VREF 0x04000000
30 30
31/* Geode GX MISC video configuration */
32
33#define GX_MISC 0x50
34#define GX_MISC_GAM_EN 0x00000001
35#define GX_MISC_DAC_PWRDN 0x00000400
36#define GX_MISC_A_PWRDN 0x00000800
37
31/* Geode GX flat panel display control registers */ 38/* Geode GX flat panel display control registers */
32#define GX_FP_PM 0x410 39#define GX_FP_PM 0x410
33# define GX_FP_PM_P 0x01000000 40# define GX_FP_PM_P 0x01000000