CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/09/18 09:10:57
Modified files: sys/dev/pci/drm: drmP.h drm_agpsupport.c drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drawable.c drm_drv.c drm_fops.c drm_irq.c drm_lock.c i915_dma.c radeon_cp.c Log message: Rework the drm locking to be at least halfway sane. The freebsd code held a lock over all driver ioctls in order to be ``mpsafe''. Stop lying to ourselves for a start. This code is not fully mpsafe, and should not pretend to be so. Put the locking around where it should, and rely on biglock for the rest. This will need to be fixed, but avoids some of the horrible that we have right now. Tested by many over a long time and several iterations.