git: drm/radeon: Replace some spinlocks by lockmgr locks

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Feb 19 13:17:54 PST 2017


commit fefad7a79f2a97ff0878b0dc59f938a04a1cece3
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun Feb 19 21:09:34 2017 +0100

    drm/radeon: Replace some spinlocks by lockmgr locks
    
    The original Linux code uses struct mutexes instead of spinlocks for
    gem.mutex, gpu_clock_mutex and srbm_mutex.

Summary of changes:
 sys/dev/drm/radeon/cik.c           | 26 +++++++++++++-------------
 sys/dev/drm/radeon/r600.c          |  6 +++---
 sys/dev/drm/radeon/radeon.h        |  6 +++---
 sys/dev/drm/radeon/radeon_device.c |  7 ++++---
 sys/dev/drm/radeon/radeon_gem.c    |  4 ++--
 sys/dev/drm/radeon/radeon_object.c |  8 ++++----
 sys/dev/drm/radeon/si.c            |  6 +++---
 7 files changed, 32 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fefad7a79f2a97ff0878b0dc59f938a04a1cece3


-- 
DragonFly BSD source repository


More information about the Commits mailing list