diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-08 05:40:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:08 -0500 |
commit | f378819a19e2b9639f17a1a82c5e12adc9512390 (patch) | |
tree | ef6278a50642f63d3ae1667fe33e92fb78536f5b /drivers/video/geode/Kconfig | |
parent | 4c1979c8963528cc6f52203ae62162ed22e171f4 (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/Kconfig')
-rw-r--r-- | drivers/video/geode/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/video/geode/Kconfig b/drivers/video/geode/Kconfig index 4e173ef20a7d..a814b6c2605c 100644 --- a/drivers/video/geode/Kconfig +++ b/drivers/video/geode/Kconfig | |||
@@ -23,6 +23,26 @@ config FB_GEODE_GX | |||
23 | 23 | ||
24 | If unsure, say N. | 24 | If unsure, say N. |
25 | 25 | ||
26 | config FB_GEODE_GX_SET_FBSIZE | ||
27 | bool "Manually specify the Geode GX framebuffer size" | ||
28 | depends on FB_GEODE_GX | ||
29 | default n | ||
30 | ---help--- | ||
31 | If you want to manually specify the size of your GX framebuffer, | ||
32 | say Y here, otherwise say N to dynamically probe it. | ||
33 | |||
34 | Say N unless you know what you are doing. | ||
35 | |||
36 | config FB_GEODE_GX_FBSIZE | ||
37 | hex "Size of the GX framebuffer, in bytes" | ||
38 | depends on FB_GEODE_GX_SET_FBSIZE | ||
39 | default "0x1600000" | ||
40 | ---help--- | ||
41 | Specify the size of the GX framebuffer. Normally, you will | ||
42 | want this to be MB aligned. Common values are 0x80000 (8MB) | ||
43 | and 0x1600000 (16MB). Don't change this unless you know what | ||
44 | you are doing | ||
45 | |||
26 | config FB_GEODE_GX1 | 46 | config FB_GEODE_GX1 |
27 | tristate "AMD Geode GX1 framebuffer support (EXPERIMENTAL)" | 47 | tristate "AMD Geode GX1 framebuffer support (EXPERIMENTAL)" |
28 | depends on FB && FB_GEODE && EXPERIMENTAL | 48 | depends on FB && FB_GEODE && EXPERIMENTAL |