xf86-video-mga: Changes to 'pci-rework'

Ian Romanick idr at kemper.freedesktop.org
Fri Feb 2 00:17:50 EET 2007


 src/mga_driver.c |  139 ++++++++++++++++++++++++-------------------------------
 1 files changed, 63 insertions(+), 76 deletions(-)

New commits:
commit 4432091b2597cf4bba09009622d247c0d8ff151f
Author: Ian Romanick <idr at us.ibm.com>
Date:   Thu Feb 1 13:45:18 2007 -0800

    Ensure the result of MGAMapMem is checked.
    
    Add GCC warn_unused_result attribute to MGAMapMem.  Add a check of the
    return value to one place that was missing it (in MGACountRam), and
    check the return of that function.

commit 3a47132af4dfab420e3c35d7d100dd93fb7bf9c6
Author: Ian Romanick <idr at us.ibm.com>
Date:   Thu Feb 1 13:30:34 2007 -0800

    Refactor memory map / unmap functions.
    
    MGAMapMem and MGAMapMemFBDev were refactored into a single function.
    This happens to fix a bug triggered in software XAA paths because
    MGAMapMem did not set FbStart.  MGAUnmapMem and MGAUnmapMemFBDev were
    also refactored into a single function.




More information about the xorg-commit mailing list