diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-09 00:39:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:34 -0500 |
commit | 9c44e5f6c211a9b7313ded897f3135ef7d9ad3e2 (patch) | |
tree | b4d94144527964a822367e4018693dc4e8a83383 /include | |
parent | e4fc27618b75234b721c4a13d0e0d9d07e75e641 (diff) |
[PATCH] fbcon: Console Rotation - Add support to rotate the logo
Add support for rotating and positioning of the logo. Rotation and position
depends on 'int rotate' parameter added to fb_prepare_logo() and
fb_show_logo().
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 51791dc5d4dc..357dd3a0a01e 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -825,8 +825,8 @@ extern void cfb_imageblit(struct fb_info *info, const struct fb_image *image); | |||
825 | /* drivers/video/fbmem.c */ | 825 | /* drivers/video/fbmem.c */ |
826 | extern int register_framebuffer(struct fb_info *fb_info); | 826 | extern int register_framebuffer(struct fb_info *fb_info); |
827 | extern int unregister_framebuffer(struct fb_info *fb_info); | 827 | extern int unregister_framebuffer(struct fb_info *fb_info); |
828 | extern int fb_prepare_logo(struct fb_info *fb_info); | 828 | extern int fb_prepare_logo(struct fb_info *fb_info, int rotate); |
829 | extern int fb_show_logo(struct fb_info *fb_info); | 829 | extern int fb_show_logo(struct fb_info *fb_info, int rotate); |
830 | extern char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size); | 830 | extern char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size); |
831 | extern void fb_pad_unaligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 idx, | 831 | extern void fb_pad_unaligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 idx, |
832 | u32 height, u32 shift_high, u32 shift_low, u32 mod); | 832 | u32 height, u32 shift_high, u32 shift_low, u32 mod); |