Free the device lock around the call to drm_drawable_free_all()
This function manipulates a spin lock and we can't hold a mutex over it. Approved by: kib
This commit is contained in:
parent
15b99cdb14
commit
32bdd34dda
@ -463,7 +463,9 @@ static int drm_lastclose(struct drm_device *dev)
|
||||
dev->magiclist[i].head = dev->magiclist[i].tail = NULL;
|
||||
}
|
||||
|
||||
DRM_UNLOCK();
|
||||
drm_drawable_free_all(dev);
|
||||
DRM_LOCK();
|
||||
|
||||
/* Clear AGP information */
|
||||
if ( dev->agp ) {
|
||||
|
Loading…
Reference in New Issue
Block a user