summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-08-09 21:59:42 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-08-09 21:59:42 +0200
commitbde592047cd62194d7ef67520a9fdbaf269a8b90 (patch)
tree324c786cf7b3a82864662b4b6ffa2ba24f09a6eb /src/mga.h
parent7170de83762660efebff79be84f763008466ffa7 (diff)
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.
Diffstat (limited to 'src/mga.h')
0 files changed, 0 insertions, 0 deletions