1111,7 → 1111,9 |
struct fb_videomode *fbmode); |
|
/* drivers/video/modedb.c */ |
#define VESA_MODEDB_SIZE 34 |
#define VESA_MODEDB_SIZE 43 |
#define DMT_SIZE 0x50 |
|
extern void fb_var_to_videomode(struct fb_videomode *mode, |
const struct fb_var_screeninfo *var); |
extern void fb_videomode_to_var(struct fb_var_screeninfo *var, |
1162,9 → 1164,17 |
u32 flag; |
}; |
|
struct dmt_videomode { |
u32 dmt_id; |
u32 std_2byte_code; |
u32 cvt_3byte_code; |
const struct fb_videomode *mode; |
}; |
|
extern const char *fb_mode_option; |
extern const struct fb_videomode vesa_modes[]; |
extern const struct fb_videomode cea_modes[64]; |
extern const struct dmt_videomode dmt_modes[]; |
|
struct fb_modelist { |
struct list_head list; |
1178,4 → 1188,16 |
const struct fb_videomode *default_mode, |
unsigned int default_bpp); |
|
/* Convenience logging macros */ |
#define fb_err(fb_info, fmt, ...) \ |
pr_err("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__) |
#define fb_notice(info, fmt, ...) \ |
pr_notice("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__) |
#define fb_warn(fb_info, fmt, ...) \ |
pr_warn("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__) |
#define fb_info(fb_info, fmt, ...) \ |
pr_info("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__) |
#define fb_dbg(fb_info, fmt, ...) \ |
pr_debug("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__) |
|
#endif /* _LINUX_FB_H */ |