git: drm: Convert idr spinlocks to lockmgr locks

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Dec 5 05:54:58 PST 2013


commit 98a11977e6dcf0ebd569c1c65b6f0d4dd1c9bd2f
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Thu Dec 5 13:39:36 2013 +0100

    drm: Convert idr spinlocks to lockmgr locks
    
    * Since the idr code uses blocking calls in some code paths we can't
      hold spin locks accross idr calls
    
    * This commit and the idr infinite loop one fix system freeze issues
      with some Xorg operations involving a huge number of pixmaps

Summary of changes:
 sys/dev/drm/drm_crtc.c             | 14 +++++++-------
 sys/dev/drm/drm_gem.c              | 36 ++++++++++++++++++------------------
 sys/dev/drm/include/drm/drmP.h     |  4 ++--
 sys/dev/drm/include/drm/drm_crtc.h |  2 +-
 4 files changed, 28 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/98a11977e6dcf0ebd569c1c65b6f0d4dd1c9bd2f


-- 
DragonFly BSD source repository



More information about the Commits mailing list