xrandr: Changes to 'master'

Aaron Plattner aplattner at kemper.freedesktop.org
Thu Feb 20 08:51:09 PST 2014


 xrandr.c |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 00c795e99fe29ecd56e05e915e508c7af0ac39ad
Author: Ville Syrjälä <ville.syrjala at linux.intel.com>
Date:   Fri May 31 17:01:54 2013 +0300

    xrandr: Use floating point for VTotal when calculating refresh rate
    
    Interlaced modes generally have an odd VTotal, so we lose half a line
    from VTotal when we divide by two. That causes the final refresh rate
    to be slightly off. Make VTotal a double to avoid the problem.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Reviewed-by: Aaron Plattner <aplattner at nvidia.com>

commit 8f9b993342fddfceaa1afbec2996ce10038f10d7
Author: Ville Syrjälä <ville.syrjala at linux.intel.com>
Date:   Fri May 31 17:01:53 2013 +0300

    xrandr: Use more decimal places when printing various rates
    
    Using just one decimal place for dotclock and refresh rates loses quite
    a bit of information. When dealing with 60Hz vs. 59.94Hz refresh rate
    modes for example, it's useful to see at least two decimal places. For
    the dotclock in similar cases, three decimal places seems quite a bit
    better than just one.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Reviewed-by: Aaron Plattner <aplattner at nvidia.com>



More information about the xorg-commit mailing list