xf86-video-mga: Changes to 'master'

Tilman Sauerbeck tilman at kemper.freedesktop.org
Wed Aug 9 22:59:52 EEST 2006


 src/mga_dri.c |   59 ++++------------------------------------------------------
 1 files changed, 5 insertions(+), 54 deletions(-)

New commits:
commit bde592047cd62194d7ef67520a9fdbaf269a8b90
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Wed Aug 9 21:59:42 2006 +0200

    Bug #7265: Fix MGA DRI locking.
    
    The server expects the driver to take the DRI lock in the wakeup
    handler, and release it in the block handler.
    The old locking scheme didn't work like this, which caused problems.
    We now no longer override wakeup/block handler and just use the ones
    provided by the server. This means the DRI lock will be taken
    "all the time" and not just when it's needed by the driver.
    MGADRISwapContext* are activated again, so the wakeup handler could be
    removed.
    I didn't notice any DRI performance drop, but I didn't do serious
    benchmarking either.




More information about the xorg-commit mailing list