Skip to content
Snippets Groups Projects
Commit e3461a2b authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm: export drm_global_mutex for drivers to use


Nouveau needs to be able to drop the mutex before sleeping to prevent a
deadlock from occuring.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ee508b82
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@
/* from BKL pushdown: note that nothing else serializes idr_find() */
DEFINE_MUTEX(drm_global_mutex);
EXPORT_SYMBOL(drm_global_mutex);
static int drm_open_helper(struct inode *inode, struct file *filp,
struct drm_device * dev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment