413,6 → 413,8 |
struct fb_info; |
struct device; |
struct file; |
struct videomode; |
struct device_node; |
|
/* Definitions below are used in the parsed monitor specs */ |
#define FB_DPMS_ACTIVE_OFF 1 |
439,6 → 441,7 |
|
#define FB_MISC_PRIM_COLOR 1 |
#define FB_MISC_1ST_DETAIL 2 /* First Detailed Timing is preferred */ |
#define FB_MISC_HDMI 4 |
struct fb_chroma { |
__u32 redx; /* in fraction of 1024 */ |
__u32 greenx; |
690,6 → 693,10 |
|
/* teardown any resources to do with this framebuffer */ |
void (*fb_destroy)(struct fb_info *info); |
|
/* called at KDB enter and leave time to prepare the console */ |
int (*fb_debug_enter)(struct fb_info *info); |
int (*fb_debug_leave)(struct fb_info *info); |
}; |
|
#ifdef CONFIG_FB_TILEBLITTING |
938,7 → 945,7 |
#define fb_memcpy_fromfb sbus_memcpy_fromio |
#define fb_memcpy_tofb sbus_memcpy_toio |
|
#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__) || defined(__sh__) || defined(__powerpc__) || defined(__avr32__) || defined(__bfin__) |
#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__) || defined(__sh__) || defined(__powerpc__) || defined(__avr32__) || defined(__bfin__) || defined(__arm__) |
|
#define fb_readb __raw_readb |
#define fb_readw __raw_readw |
999,7 → 1006,7 |
extern int register_framebuffer(struct fb_info *fb_info); |
extern int unregister_framebuffer(struct fb_info *fb_info); |
extern int unlink_framebuffer(struct fb_info *fb_info); |
extern void remove_conflicting_framebuffers(struct apertures_struct *a, |
extern int remove_conflicting_framebuffers(struct apertures_struct *a, |
const char *name, bool primary); |
extern int fb_prepare_logo(struct fb_info *fb_info, int rotate); |
extern int fb_show_logo(struct fb_info *fb_info, int rotate); |
1027,7 → 1034,7 |
static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, |
u8 *src, u32 s_pitch, u32 height) |
{ |
int i, j; |
u32 i, j; |
|
d_pitch -= s_pitch; |
|