summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2007-07-20 11:36:57 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2007-07-20 11:36:57 +0200
commit9ccb8440f393a395941b211ee87d9addcfa6d69a (patch)
tree7fc00e8118f0c8abf2e52152103489303b2de09e /linux-core/drm_crtc.h
parent43c9abdedc88807a40034513de842d6eeb8c3ed2 (diff)
Changed mode config spinlock to mutex
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index e8a527b0..75db5b05 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -459,7 +459,7 @@ struct drm_mode_config_funcs {
*
*/
struct drm_mode_config {
- spinlock_t config_lock; /* protects configuration and IDR */
+ struct mutex mutex; /* protects configuration and IDR */
struct idr crtc_idr; /* use this idr for all IDs, fb, crtc, output, modes - just makes life easier */
/* this is limited to one for now */
int num_fb;