Mailinglist Archive: opensuse-bugs (15873 mails)

< Previous Next >
[Bug 220724] radeon: grey line at the bottom of the screen when the screen gets scalled to the flatpanel resolution
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 20 Aug 2007 02:27:27 -0600 (MDT)
  • Message-id: <20070820082727.59A8D245350@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=220724#c15


Egbert Eich <eich@xxxxxxxxxx> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |atilinuxnovellbugs@xxxxxxx




--- Comment #15 from Egbert Eich <eich@xxxxxxxxxx>  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.

< Previous Next >