xf86-video-mga: Changes to 'pci-rework'
Ian Romanick
idr at kemper.freedesktop.org
Thu Aug 10 20:18:47 EEST 2006
src/mga_dri.c | 59 ++++------------------------------------------------------
1 files changed, 5 insertions(+), 54 deletions(-)
New commits:
commit 7cecee186c889902bed9b7fa042f0bd3cc0297ef
Merge: 160b1f7... bde5920...
Author: Ian Romanick <idr at umwelt.(none)>
Date: Thu Aug 10 10:19:55 2006 -0700
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework
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