xf86-video-savage: Changes to 'master'

Tormod Volden tormod at kemper.freedesktop.org
Fri Sep 23 12:02:58 PDT 2011


 src/savage_dri.c   |    5 +++++
 src/savage_video.c |   31 +++++++++++++++++++------------
 2 files changed, 24 insertions(+), 12 deletions(-)

New commits:
commit f7516fd3a01241aaeab65cd409091e68b4be234a
Author: Tormod Volden <debian.tormod at gmail.com>
Date:   Sun Sep 18 22:28:31 2011 +0200

    savage: Warn if broken drm maps are detected
    
    Linux kernel 2.6.30 - 2.6.39 had broken drm maps which would result
    in assorted problems. Leave a message in the log if it looks like
    the framebuffer map and the aperture map are mixed up.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=32511
    
    Signed-off-by: Tormod Volden <debian.tormod at gmail.com>

commit ca6c41fd8c9fcb563ee5f97689806edcb0da54bf
Author: Tormod Volden <debian.tormod at gmail.com>
Date:   Sat Sep 17 11:58:50 2011 +0200

    savage: Avoid unnecessary float calculation in video display
    
    There is no reason to do the division using floats as long as
    the result is an integer and there is no risk of intermediate
    overflow.
    
    This is in the code for "Old" chipsets. Integer division was already
    used in the parallel code for "New" chipsets.
    
    Also fixed up the whitespace in both blocks.
    
    Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

commit f27eac4b3fe9e6f13d3c54711488ebe7280f24dd
Author: Hans-Juergen Mauser <hjmauser at gmx.net>
Date:   Sat Sep 17 11:22:30 2011 +0200

    savage: Fix Xv scaling on non-native resolutions
    
    If I set the resolution to 800x600 for example (to be able to use the
    TV output in full screen mode), I only can see 800/1024 = 0,78 of the
    real video width, no matter if the video is displayed in a small player
    window or enlarged to full screen. On the right of the video display,
    the remaining width is filled with a black (or sometimes blue) bar.
    
    The problem was mainly that only the drawing starting point was modified
    by the scaling factor, but not the size-defining end of the drawing
    rectangle.
    
    https://bugs.launchpad.net/bugs/670790
    
    Signed-off-by: Hans-Juergen Mauser <hjmauser at gmx.net>
    Reviewed-by: Tormod Volden <debian.tormod at gmail.com>
    Acked-by: Matt Turner <mattst88 at gmail.com>



More information about the xorg-commit mailing list