diff options
Diffstat (limited to 'drivers/gpu/drm/drm_fops.c')
-rw-r--r-- | drivers/gpu/drm/drm_fops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 133b4132983e..13fdcd10a605 100644 --- a/drivers/gpu/drm/drm_fops.c +++ b/drivers/gpu/drm/drm_fops.c | |||
@@ -276,6 +276,7 @@ static int drm_open_helper(struct inode *inode, struct file *filp, | |||
276 | 276 | ||
277 | INIT_LIST_HEAD(&priv->lhead); | 277 | INIT_LIST_HEAD(&priv->lhead); |
278 | INIT_LIST_HEAD(&priv->fbs); | 278 | INIT_LIST_HEAD(&priv->fbs); |
279 | mutex_init(&priv->fbs_lock); | ||
279 | INIT_LIST_HEAD(&priv->event_list); | 280 | INIT_LIST_HEAD(&priv->event_list); |
280 | init_waitqueue_head(&priv->event_wait); | 281 | init_waitqueue_head(&priv->event_wait); |
281 | priv->event_space = 4096; /* set aside 4k for event buffer */ | 282 | priv->event_space = 4096; /* set aside 4k for event buffer */ |