diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-08 02:40:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:29:08 -0800 |
commit | ab1db0cfcf69f94a5c6831db230982cd6bbeb2e1 (patch) | |
tree | 9c8178a6c5a0f5a62498cb47648046ae22a30ec8 /drivers/video/geode/display_gx.h | |
parent | f378819a19e2b9639f17a1a82c5e12adc9512390 (diff) | |
download | blackbird-op-linux-ab1db0cfcf69f94a5c6831db230982cd6bbeb2e1.tar.gz blackbird-op-linux-ab1db0cfcf69f94a5c6831db230982cd6bbeb2e1.zip |
[PATCH] gxfb: Support flat panel timings
Support TFT panels by correctly setting up the flat panel registers
[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/display_gx.h')
-rw-r--r-- | drivers/video/geode/display_gx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/geode/display_gx.h b/drivers/video/geode/display_gx.h index e962c7679d08..ba0ccc82bf22 100644 --- a/drivers/video/geode/display_gx.h +++ b/drivers/video/geode/display_gx.h @@ -16,6 +16,10 @@ int gx_line_delta(int xres, int bpp); extern struct geode_dc_ops gx_dc_ops; +/* MSR that tells us if a TFT or CRT is attached */ +#define GLD_MSR_CONFIG 0xC0002001 +#define GLD_MSR_CONFIG_FMT_FP 0x01 + /* Display controller registers */ #define DC_UNLOCK 0x00 |