
Index: linux-omap-2_6_23/drivers/video/omap/omapfb_main.c
===================================================================
--- linux-omap-2_6_23.orig/drivers/video/omap/omapfb_main.c
+++ linux-omap-2_6_23/drivers/video/omap/omapfb_main.c
@@ -168,7 +168,7 @@ static int ctrl_init(struct omapfb_devic
/* 12 bpp is packed in 16 bits */
if (bpp == 12)
bpp = 16;
- def_size = def_vxres * def_vyres * bpp / 8;
+ def_size = def_vxres * def_vyres * 2 * bpp / 8;
fbdev->mem_desc.region_cnt = 1;
fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size);
}
@@ -415,6 +415,7 @@ static void set_fb_fix(struct fb_info *f
}
fix->accel = FB_ACCEL_OMAP1610;
fix->line_length = var->xres_virtual * bpp / 8;
+ fix->ypanstep = 1;
}
static int set_color_mode(struct omapfb_plane_struct *plane,
@@ -1471,7 +1472,7 @@ static int fbinfo_init(struct omapfb_dev
var->xres = def_vxres;
var->yres = def_vyres;
var->xres_virtual = def_vxres;
- var->yres_virtual = def_vyres;
+ var->yres_virtual = def_vyres * 2;
var->rotate = def_rotate;
var->bits_per_pixel = fbdev->panel->bpp;
bdogg can you send me the omap drivers for n900 and ill see if i can look at them for you
TARGET_HARDWARE_3D := false HAVE_HTC_AUDIO_DRIVER := false HAVE_WEXT_WIFI_DRIVER := true BOARD_USES_GENERIC_AUDIO := true BOARD_USES_ALSA_AUDIO := false BOARD_HAVE_BLUETOOTH := true
| The Following 5 Users Say Thank You to dj_steve For This Useful Post: | ||
TARGET_HARDWARE_3D := false HAVE_HTC_AUDIO_DRIVER := false HAVE_WEXT_WIFI_DRIVER := true BOARD_USES_GENERIC_AUDIO := true BOARD_USES_ALSA_AUDIO := false BOARD_HAVE_BLUETOOTH := true
| The Following User Says Thank You to bdogg64 For This Useful Post: | ||
| The Following User Says Thank You to andoreasu For This Useful Post: | ||