Rev 6082 | Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6082 | Rev 6102 | ||
---|---|---|---|
Line 548... | Line 548... | ||
548 | #define FB_EVENT_CONBLANK 0x0C |
548 | #define FB_EVENT_CONBLANK 0x0C |
549 | /* Get drawing requirements */ |
549 | /* Get drawing requirements */ |
550 | #define FB_EVENT_GET_REQ 0x0D |
550 | #define FB_EVENT_GET_REQ 0x0D |
551 | /* Unbind from the console if possible */ |
551 | /* Unbind from the console if possible */ |
552 | #define FB_EVENT_FB_UNBIND 0x0E |
552 | #define FB_EVENT_FB_UNBIND 0x0E |
553 | /* CONSOLE-SPECIFIC: remap all consoles to new fb - for vga switcheroo */ |
553 | /* CONSOLE-SPECIFIC: remap all consoles to new fb - for vga_switcheroo */ |
554 | #define FB_EVENT_REMAP_ALL_CONSOLE 0x0F |
554 | #define FB_EVENT_REMAP_ALL_CONSOLE 0x0F |
555 | /* A hardware display blank early change occured */ |
555 | /* A hardware display blank early change occured */ |
556 | #define FB_EARLY_EVENT_BLANK 0x10 |
556 | #define FB_EARLY_EVENT_BLANK 0x10 |
557 | /* A hardware display blank revert early change occured */ |
557 | /* A hardware display blank revert early change occured */ |
558 | #define FB_R_EARLY_EVENT_BLANK 0x11 |
558 | #define FB_R_EARLY_EVENT_BLANK 0x11 |
Line 873... | Line 873... | ||
873 | struct device *dev; /* This is this fb device */ |
873 | struct device *dev; /* This is this fb device */ |
874 | int class_flag; /* private sysfs flags */ |
874 | int class_flag; /* private sysfs flags */ |
875 | #ifdef CONFIG_FB_TILEBLITTING |
875 | #ifdef CONFIG_FB_TILEBLITTING |
876 | struct fb_tile_ops *tileops; /* Tile Blitting */ |
876 | struct fb_tile_ops *tileops; /* Tile Blitting */ |
877 | #endif |
877 | #endif |
- | 878 | union { |
|
878 | char __iomem *screen_base; /* Virtual address */ |
879 | char __iomem *screen_base; /* Virtual address */ |
- | 880 | char *screen_buffer; |
|
- | 881 | }; |
|
879 | unsigned long screen_size; /* Amount of ioremapped VRAM or 0 */ |
882 | unsigned long screen_size; /* Amount of ioremapped VRAM or 0 */ |
880 | void *pseudo_palette; /* Fake palette of 16 colors */ |
883 | void *pseudo_palette; /* Fake palette of 16 colors */ |
881 | #define FBINFO_STATE_RUNNING 0 |
884 | #define FBINFO_STATE_RUNNING 0 |
882 | #define FBINFO_STATE_SUSPENDED 1 |
885 | #define FBINFO_STATE_SUSPENDED 1 |
883 | u32 state; /* Hardware state i.e suspend */ |
886 | u32 state; /* Hardware state i.e suspend */ |
Line 1066... | Line 1069... | ||
1066 | #endif /* __BIG_ENDIAN */ |
1069 | #endif /* __BIG_ENDIAN */ |
1067 | #endif /* CONFIG_FB_FOREIGN_ENDIAN */ |
1070 | #endif /* CONFIG_FB_FOREIGN_ENDIAN */ |
1068 | } |
1071 | } |
Line 1069... | Line 1072... | ||
1069 | 1072 | ||
1070 | /* drivers/video/fbsysfs.c */ |
1073 | /* drivers/video/fbsysfs.c */ |
1071 | //extern struct fb_info *framebuffer_alloc(size_t size, struct device *dev); |
1074 | extern struct fb_info *framebuffer_alloc(size_t size, struct device *dev); |
1072 | //extern void framebuffer_release(struct fb_info *info); |
1075 | extern void framebuffer_release(struct fb_info *info); |
1073 | //extern int fb_init_device(struct fb_info *fb_info); |
1076 | extern int fb_init_device(struct fb_info *fb_info); |
1074 | //extern void fb_cleanup_device(struct fb_info *head); |
1077 | extern void fb_cleanup_device(struct fb_info *head); |
Line 1075... | Line 1078... | ||
1075 | //extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max); |
1078 | extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max); |
1076 | 1079 | ||
1077 | /* drivers/video/fbmon.c */ |
1080 | /* drivers/video/fbmon.c */ |
1078 | #define FB_MAXTIMINGS 0 |
1081 | #define FB_MAXTIMINGS 0 |
Line 1171... | Line 1174... | ||
1171 | const struct fb_videomode *mode; |
1174 | const struct fb_videomode *mode; |
1172 | }; |
1175 | }; |
Line 1173... | Line 1176... | ||
1173 | 1176 | ||
1174 | extern const char *fb_mode_option; |
1177 | extern const char *fb_mode_option; |
1175 | extern const struct fb_videomode vesa_modes[]; |
1178 | extern const struct fb_videomode vesa_modes[]; |
1176 | extern const struct fb_videomode cea_modes[64]; |
1179 | extern const struct fb_videomode cea_modes[65]; |
Line 1177... | Line 1180... | ||
1177 | extern const struct dmt_videomode dmt_modes[]; |
1180 | extern const struct dmt_videomode dmt_modes[]; |
1178 | 1181 | ||
1179 | struct fb_modelist { |
1182 | struct fb_modelist { |