--- /dev/null
+--- kernel-2.6.27.orig/drivers/video/omap/dispc.c
++++ kernel-2.6.27/drivers/video/omap/dispc.c
+@@ -314,6 +319,32 @@
+ }
+ EXPORT_SYMBOL(omap_dispc_enable_digit_out);
+
++extern void omap_dispc_set_plane_base(int plane, u32 paddr)
++{
++ u32 reg;
++ u32 val;
++
++ switch (plane) {
++ case 0:
++ reg = DISPC_GFX_BA0;
++ break;
++ case 1:
++ reg = DISPC_VID1_BASE + DISPC_VID_BA0;
++ break;
++ case 2:
++ reg = DISPC_VID2_BASE + DISPC_VID_BA0;
++ break;
++ default:
++ BUG();
++ return;
++ }
++
++ dispc_write_reg(reg, paddr);
++ val = dispc_read_reg(DISPC_CONTROL) | (1 << 5); /* GOLCD */
++ dispc_write_reg(DISPC_CONTROL, val);
++}
++EXPORT_SYMBOL(omap_dispc_set_plane_base);
++
+ static inline int _setup_plane(int plane, int channel_out,
+ u32 paddr, int screen_width,
+ int pos_x, int pos_y, int width, int height,
+--- /tmp/dispc.h 2008-12-09 15:13:12.000000000 +0100
++++ git/drivers/video/omap/dispc.h 2008-12-09 15:13:36.000000000 +0100
+@@ -32,6 +32,8 @@
+ #define DISPC_TFT_DATA_LINES_18 2
+ #define DISPC_TFT_DATA_LINES_24 3
+
++extern void omap_dispc_set_plane_base(int plane, u32 paddr);
++
+ extern void omap_dispc_set_lcd_size(int width, int height);
+
+ extern void omap_dispc_enable_lcd_out(int enable);
COMPATIBLE_MACHINE = "omap5912osk|omap1710h3|omap2430sdp|omap2420h4|beagleboard|omap3evm"
SRCREV = "2a3408be17f287fdb5809c9b6c68e7ad96d25b74"
-PR = "r2"
+PR = "r3"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \
file://defconfig"
# file://openvz/0004-arm-add-openvz-and-bc-Kconfigs.patch;patch=1 \
# file://openvz/openvz-2.6.27.diff;patch=1 \
file://pvr/pvr-add.patch;patch=1 \
+ file://pvr/dispc.patch;patch=1 \
"