diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-08 05:40:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:08 -0500 |
commit | 4c1979c8963528cc6f52203ae62162ed22e171f4 (patch) | |
tree | dc3219a7767747fc6e5476d7ea8aec104b8d0852 /drivers/video/geode/display_gx.h | |
parent | 4437cd1e98409e236a9d303fb742fdd53b3a20bb (diff) |
[PATCH] FB: Get the Geode GX frambuffer size from the BIOS
Use the Geode GX BIOS virtual registers to get the actual size of the
framebuffer.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/geode/display_gx.h b/drivers/video/geode/display_gx.h index 86c623361305..41e79f440670 100644 --- a/drivers/video/geode/display_gx.h +++ b/drivers/video/geode/display_gx.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #ifndef __DISPLAY_GX_H__ | 11 | #ifndef __DISPLAY_GX_H__ |
12 | #define __DISPLAY_GX_H__ | 12 | #define __DISPLAY_GX_H__ |
13 | 13 | ||
14 | int gx_frame_buffer_size(void); | 14 | unsigned int gx_frame_buffer_size(void); |
15 | int gx_line_delta(int xres, int bpp); | 15 | int gx_line_delta(int xres, int bpp); |
16 | 16 | ||
17 | extern struct geode_dc_ops gx_dc_ops; | 17 | extern struct geode_dc_ops gx_dc_ops; |