https://bugzilla.novell.com/show_bug.cgi?id=220724#c15 Egbert Eich <eich@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |atilinuxnovellbugs@ati.com --- Comment #15 from Egbert Eich <eich@novell.com> 2007-08-20 02:27:26 MST --- Question for ATI: what would be the right alorithm to calculate the integer value written to the RADEON_FP_HORZ_STRETCH (MMIO:0x028c) and RADEON_FP_VERT_STRETCH (MMIO:0x0290)? currently the code in radeon_driver.c does: float ratio = resolution / panel_size; stretch = (ratio * 4096 + 0.5); This means that any float whose fractional part is > 0.5 gets rounded up before converting it to an int. This gives a slight overscaling in these cases. In the sources this algorithm can be followed all the way back to the XFree86 code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.