diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-04 19:39:08 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-04 19:39:08 +0000 |
commit | f1aca551c2548d05823faab2f604b40afacbf40b (patch) | |
tree | 49802ff14edc703a2dadd6b855bebf95518270ca /sys/dev/softraid_crypto.c | |
parent | bf884d4ee6db52ac6270df38429cbc1f7b7c7692 (diff) |
A couple of fixes (based mostly on stuff from upstream) to stop
breaking vblanks over suspend.
Firstly, when we turn off the irq, wait up anyone waiting on vblanks,
and prepare for the fact that interrupts are going off.
Secondly, only reduce the refcount for vblanks over modeset if they were
actually turned on.
Fixes gl apps running while you suspend an x40 (as in they still work
when it comes back).
Diffstat (limited to 'sys/dev/softraid_crypto.c')
0 files changed, 0 insertions, 0 deletions