Re: Re: [atyfb] No display on Sparc Ultra 10 with kernel 2.6.10-rc2 or later
From: Antonino A. Daplas <hidden>
Date: 2005-02-17 21:30:59
Also in:
sparclinux
On Thursday 17 February 2005 22:16, Frans Pop wrote:
On Thursday 17 February 2005 00:24, Antonino A. Daplas wrote:quoted
quoted
Try this patch and let me know. video=atyfb:comp_sync:<n>,vert_sync:<n>,hor_sync:<n> n = 0 (low), 1 (high)I've tested with the following combinations: - append="video=atyfb:comp_sync:1,1024x768@70" Works perfectly: csync is high and good display. - append="video=atyfb:comp_sync:1,hor_sync:1,vert_sync:0,1024x768@70" csync is high, but for some reason not hsync; display is good.
Okay, it seems that overriding the vsync and hsync settings is useless in
atyfb as it has its own algo to do that:
if(vdisplay < 400) {
h_sync_pol = 1;
v_sync_pol = 0;
} else if(vdisplay < 480) {
h_sync_pol = 0;
v_sync_pol = 1;
} else if(vdisplay < 768) {
h_sync_pol = 0;
v_sync_pol = 0;
} else {
h_sync_pol = 1;
v_sync_pol = 1;
}
I'll trim the patch for csync only.
- append="video=atyfb:1024x768@70,comp_sync:1" Same results as first test. The sync settings were checked with 'fbset -i'.quoted
BTW, the mode string should always be the last parameter, ie; video=atyfb:comp_sync:1,1024x768@70Hmmm. Wonder why you say that (considering the result of my last test).
My mistake then. Thanks for verifying.
Should these new options also be documented in Documentation/fb/?
I'll add this and fix a few buglets when I push upstream. Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click