OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Owain Ainsworth (ogacvs.openbsd.org)
Date: Fri Apr 03 2009 - 07:41:20 CDT


CVSROOT: /cvs
Module name: src
Changes by: ogacvs.openbsd.org 2009/04/03 06:41:20

Modified files:
        sys/dev/pci/drm: mga_drv.c mga_drv.h mga_irq.c mga_state.c

Log message:
Same as just done for radeon. Add and use a lock for procecting against
races when waiting on fences, and use that in preference to irq_lock.
Don't use drm_irq_handler_wrap() anymore for irq handler, just the
mgadrm main irq handler. knf while here.