diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index a4851af5b05e..ed5ac0b9a0ac 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c | |||
@@ -391,6 +391,7 @@ nouveau_card_init(struct drm_device *dev) | |||
391 | goto out; | 391 | goto out; |
392 | engine = &dev_priv->engine; | 392 | engine = &dev_priv->engine; |
393 | dev_priv->init_state = NOUVEAU_CARD_INIT_FAILED; | 393 | dev_priv->init_state = NOUVEAU_CARD_INIT_FAILED; |
394 | spin_lock_init(&dev_priv->context_switch_lock); | ||
394 | 395 | ||
395 | /* Parse BIOS tables / Run init tables if card not POSTed */ | 396 | /* Parse BIOS tables / Run init tables if card not POSTed */ |
396 | if (drm_core_check_feature(dev, DRIVER_MODESET)) { | 397 | if (drm_core_check_feature(dev, DRIVER_MODESET)) { |