summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-04-03 12:25:05 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-04-03 12:25:05 +0000
commit945edc728f8c2b49653ec54af3cae1e8af64d04c (patch)
treeabee386d65329147c3a0c2e2dc64b0edc66596da /sys/dev/pci/azalia.h
parentd1c647af2ed78ba07cac9e32438c6f437239a56b (diff)
Add a lock to protect races for the software interrupt on radeon chips
(vblank is already protected by that subsystem). Also, do all checks for the correct software interrupt having fired inside DRM_WAIT_ON(), since it won't sleep if it's already passed it doesn't gain us much (skips one lock grab). Finally, establish the interrupt with only the main radeon irq handler, don't bother with drm_irq_wrap. bunch of knf while i'm in here.
Diffstat (limited to 'sys/dev/pci/azalia.h')
0 files changed, 0 insertions, 0 deletions