CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2009/04/03 06:25:04
Modified files: sys/dev/pci/drm: radeon_drv.c radeon_drv.h radeon_irq.c Log message: 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.