|
2010-03-08
, 22:33
|
Posts: 163 |
Thanked: 175 times |
Joined on Dec 2007
@ Alabama
|
#262
|
@bdogg64
just found some code here you might find of interest it has to do with pageflipping in the omap fb driver
its a patch i found at @ http://elinux.org/Android_on_OMAP#Pa...g_frame_bufferCode: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;
|
2010-03-09
, 20:08
|
Posts: 1,306 |
Thanked: 1,697 times |
Joined on Dec 2009
@ Durham North-East UK
|
#263
|
|
2010-03-10
, 03:59
|
Posts: 258 |
Thanked: 138 times |
Joined on Oct 2009
@ St. Louis, MO, USA
|
#264
|
|
2010-03-10
, 10:59
|
Posts: 1,306 |
Thanked: 1,697 times |
Joined on Dec 2009
@ Durham North-East UK
|
#265
|
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: | ||
|
2010-03-10
, 12:44
|
Posts: 240 |
Thanked: 48 times |
Joined on Apr 2009
|
#266
|
|
2010-03-10
, 22:28
|
Posts: 163 |
Thanked: 175 times |
Joined on Dec 2007
@ Alabama
|
#267
|
update time: been examining the contents of the original nitdroid patch for the android userspace and noticed one thing in one of the files thats a bit wrong in my opin :
file these are in is vendor/nokia/nit/BoardConfig.mk
both the bold lines seem to be slightly wrong for the NIT tablets,Code: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
i know for a fact the sound subsystem on the n8x0 runs via alsa so ive enabled that, also we all know the n900 and n800 both have internel 3d graphics hardware so thats enabled to.
am compiling a android 2.1r2 system now, wont get to test until i get home from work ~8pm tonight though
The Following User Says Thank You to bdogg64 For This Useful Post: | ||
|
2010-03-11
, 09:58
|
Posts: 31 |
Thanked: 9 times |
Joined on Mar 2010
@ Germany
|
#268
|
The Following User Says Thank You to andoreasu For This Useful Post: | ||
|
2010-03-12
, 14:51
|
Posts: 42 |
Thanked: 132 times |
Joined on Feb 2010
|
#269
|
|
2010-03-12
, 17:56
|
Posts: 15 |
Thanked: 0 times |
Joined on Nov 2009
|
#270
|
I'm not sure whats going on with the keyboard, as mine wasn't affected after patching.
Hope this helps
Hi! I'm a Maemo Greeter!
Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
If I can help with anything else, just ask!
Last edited by bdogg64; 2010-03-08 at 22:37.