Searched refs:drm_global_mutex (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/gpu/drm/
H A Ddrm_file.c52 DEFINE_MUTEX(drm_global_mutex); variable
373 mutex_lock(&drm_global_mutex);
385 mutex_unlock(&drm_global_mutex);
392 mutex_unlock(&drm_global_mutex);
430 mutex_lock(&drm_global_mutex);
440 mutex_unlock(&drm_global_mutex);
489 * the drm_global_mutex, which then calls the &drm_driver.postclose driver
505 if (atomic_dec_and_mutex_lock(&dev->open_count, &drm_global_mutex)) {
507 mutex_unlock(&drm_global_mutex);
H A Ddrm_internal.h52 extern struct mutex drm_global_mutex;
H A Ddrm_drv.c912 mutex_lock(&drm_global_mutex);
968 mutex_unlock(&drm_global_mutex);

Completed in 204 milliseconds