drm/radeon: Replace some spinlocks by lockmgr locks
commitfefad7a79f2a97ff0878b0dc59f938a04a1cece3
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 19 Feb 2017 20:09:34 +0000 (19 21:09 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 19 Feb 2017 21:15:36 +0000 (19 22:15 +0100)
tree4d504ba22563217511274737eeb67cddc3027ca7
parent49992e54c69c21c6beedb5f79afb19a2fec0e46d
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.
sys/dev/drm/radeon/cik.c
sys/dev/drm/radeon/r600.c
sys/dev/drm/radeon/radeon.h
sys/dev/drm/radeon/radeon_device.c
sys/dev/drm/radeon/radeon_gem.c
sys/dev/drm/radeon/radeon_object.c
sys/dev/drm/radeon/si.c