mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-03 16:08:01 +02:00
we should not be unlocking this here
This commit is contained in:
parent
b13dc383df
commit
01f905c177
1 changed files with 0 additions and 1 deletions
|
|
@ -165,7 +165,6 @@ struct drm_framebuffer *drm_framebuffer_create(struct drm_device *dev)
|
|||
|
||||
/* Limit to single framebuffer for now */
|
||||
if (dev->mode_config.num_fb > 1) {
|
||||
mutex_unlock(&dev->mode_config.mutex);
|
||||
DRM_ERROR("Attempt to add multiple framebuffers failed\n");
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue