[haiku-development] Re: Asus Eee PC B202

2009/2/15 David McPaul <dlmcpaul@xxxxxxxxx>:
> 2009/2/10 Nick <tonestone57@xxxxxxxxxxx>:
>>> From: dlmcpaul@xxxxxxxxx
>>> 2009/2/10 Nick tonestone57@xxxxxxxxxxx:
>> Haiku's Intel video driver needs updating to work properly on certain
>> video cards ( 945G chipset, found in Atom netbooks & desktops ).
>> Haiku's Intel video driver is based off X Org driver.
>> The issue is caused by p2 range. X driver updated p2 from 10 and 5
>> to 14 and 7 range but Haiku's has not been updated ( still uses old values
>> ).
>> http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/accelerants/intel_extreme/mode.cpp?rev=29174#L214
>> I think I changed out those values but did not work for me.  It must need
>> more than just changing out the p2 values.
>> You will notice on my ticket the attached jpeg.  You can see that my p2
>> is out of range on first try and then system tries to compensate by using
>> values that fit in the defined PLL max & min range but fails ( freezes ).
>> I believe same is going on for you.
> Ok I found this document
> http://intellinuxgraphics.org/VOL_3_display_registers_updated.pdf
> which on page 49 gives the various limits needed.
> For DAC mode P2 should be from 5 to 10
> For LVDS mode P2 can be from 7 to 12
> All other values seem to match what we have.
> Since the driver has a number of TODO's about LVDS support perhaps a
> better range would be 7 to 10 which should work for both?
> Your thoughts appreciated?

Ok annoyingly the driver seems to ignore p2 from the table and
overwrite with a different set of constants which are 7 to 14
presumably it is trying to handle LVDS mode.

The driver also seems to have several different ways of detecting LVDS
mode, hmm.


Other related posts: