Update for geode driver

NoiseEHC NoiseEHC at freemail.hu
Sat Sep 4 15:40:18 EDT 2010

  Just two questions:
When I ported Android to the XO-1, I had to fix a bug in the original 
geode driver. The problem was that the Linux frame buffer driver uses a 
memcmp (in fbmem.c, in function fb_set_var) which compares the whole 
length of the fb_var_screeninfo structure and the last reserved[5] 
fields are never initialized. So the memcmp mostly fails and the 
chipset's video mode set routine is called every time. In the case of 
the geode driver it reinitializes all the registers of the display 
processor what causes a visible flicker on the screen. Because Android 
uses the FBIOPUT_VSCREENINFO ioctl to flip surfaces it caused endless 
flickers what I had to fix.
Now the questions are:
Was it fixed meanwhile in the Linux kernel (I did this Android hach a 
year ago)?
Are you planning to fix this for the XO-1 since most likely it causes 
the flickers at suspend?

On 2010.08.15. 4:12, Bernie Innocenti wrote:
> El Fri, 13-08-2010 a las 10:35 +0800, Huang, FrankR escribiĆ³:
>> Bernie,
>> 	You can git clone the lastest code from freedesktop for geode driver
>> to use. The most outstanding rendering bug has been fixed. And some
>> performance patch has been applied.
> I tested the driver on the XO-1 and couldn't spot any rendering bug
> neither in Sugar nor in Gnome, with full acceleration enabled and no
> quirks needed in xorg.conf.
> However, a long-standing bug is still there: setting Option "NoAccel"
> "1" makes the driver segfault during startup.
> Thank you very much for taking the time to do this neat work, Frank!
> (pls forward my notes the geode list, I'm not subscribed)

More information about the Devel mailing list