Radeonfb hsync fudge factor?
What's the hsync fudge factor used for?
I noticed that the left edged of my screen moved a bit when I was switching between 32/16/8 bpp modes and tracked it down to this.
John
p.s. I have this urge to giggle every time I type in the words "fudge factor" for some reason. :)
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Quoted 9 lines · John Zielinski
What's the hsync fudge factor used for?
I noticed that the left edged of my screen moved a bit when I was switching between 32/16/8 bpp modes and tracked it down to this.
John
p.s. I have this urge to giggle every time I type in the words "fudge factor" for some reason. :)
I'm not too sure about why it's there, it comes from ATI code in the first place.
Ben.
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Quoted 4 lines · John Zielinski
What's the hsync fudge factor used for?
I noticed that the left edged of my screen moved a bit when I was switching between 32/16/8 bpp modes and tracked it down to this.
The same thing here - both with Radeon VE QY and 8500LE (don't remember the exact chip version). Adding the opposite value to the fbset parameters puts the image back into the place - so it looks like the hsync fudge is unneeded at least with these chipsets.
Probably this fudge factor was needed for some early chips?
Quoted 6 lines · Sergey Vlasov
Quoted 4 lines · John Zielinski
What's the hsync fudge factor used for?
I noticed that the left edged of my screen moved a bit when I was switching between 32/16/8 bpp modes and tracked it down to this.
Quoted 6 lines
The same thing here - both with Radeon VE QY and 8500LE (don't remember the exact chip version). Adding the opposite value to the fbset parameters puts the image back into the place - so it looks like the hsync fudge is unneeded at least with these chipsets.
Probably this fudge factor was needed for some early chips?
Yep, Mach64 needs one (but atyfb doesn't take care of it yet). So if you switch between depths, the display may shift horizontally. I guess this is due to different lengths of the dataflow paths for different color depths.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Quoted 12 lines · Geert Uytterhoeven
Quoted 3 lines · Sergey Vlasov
Probably this fudge factor was needed for some early chips?
Yep, Mach64 needs one (but atyfb doesn't take care of it yet). So if you switch between depths, the display may shift horizontally. I guess this is due to different lengths of the dataflow paths for different color depths.
How many cards handled by radeonfb need it? That way we can add a fudge or nofudge driver option. Or put it in the card database if the numbers are roughly equal.
I need to see if that's what's causing the sync problems with my friends HDTV....
John
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Quoted 16 lines · John Zielinski
Quoted 13 lines · Geert Uytterhoeven
Quoted 3 lines · Sergey Vlasov
Probably this fudge factor was needed for some early chips?
Yep, Mach64 needs one (but atyfb doesn't take care of it yet). So if you switch
between depths, the display may shift horizontally. I guess this is due to different lengths of the dataflow paths for different color depths.
Quoted 3 lines
How many cards handled by radeonfb need it? That way we can add a
fudge or nofudge driver option. Or put it in the card database if the numbers are roughly equal.
I suspect that either none of these cards need it (if this is really a leftover from Mach64 days), or maybe some of the oldest (R100) cards need it. Radeon VE QY (RV100) and 8500 QL (R200) certainly don't need this fudge factor.
Does someone have an old R100-based card to test this?
Quoted 2 lines
I need to see if that's what's causing the sync problems with my friends HDTV....