1 --- kernel-2.6.27.orig/drivers/video/omap/dispc.c
2 +++ kernel-2.6.27/drivers/video/omap/dispc.c
5 EXPORT_SYMBOL(omap_dispc_enable_digit_out);
7 +extern void omap_dispc_set_plane_base(int plane, u32 paddr)
14 + reg = DISPC_GFX_BA0;
17 + reg = DISPC_VID1_BASE + DISPC_VID_BA0;
20 + reg = DISPC_VID2_BASE + DISPC_VID_BA0;
27 + dispc_write_reg(reg, paddr);
28 + val = dispc_read_reg(DISPC_CONTROL) | (1 << 5); /* GOLCD */
29 + dispc_write_reg(DISPC_CONTROL, val);
31 +EXPORT_SYMBOL(omap_dispc_set_plane_base);
33 static inline int _setup_plane(int plane, int channel_out,
34 u32 paddr, int screen_width,
35 int pos_x, int pos_y, int width, int height,
36 --- /tmp/dispc.h 2008-12-09 15:13:12.000000000 +0100
37 +++ git/drivers/video/omap/dispc.h 2008-12-09 15:13:36.000000000 +0100
39 #define DISPC_TFT_DATA_LINES_18 2
40 #define DISPC_TFT_DATA_LINES_24 3
42 +extern void omap_dispc_set_plane_base(int plane, u32 paddr);
44 extern void omap_dispc_set_lcd_size(int width, int height);
46 extern void omap_dispc_enable_lcd_out(int enable);