aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-05-09 02:14:14 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-02 03:57:29 -0400
commitd3dbd9b21eb2b85c45522af676dc63c7de887caf (patch)
tree4bb90511c85cc7fcbb837aa12b722414748e2b54 /drivers/gpu/drm/ast
parent2a8dc638f7af27ced60728e105752840fcd1538a (diff)
drm/ast: Fix double lock at PM resume
The recent commit [3ea87855: drm/helper: lock all around force mode restore] introduced drm_modeset_lock_all() in drm_helper_resume_force_mode() itself, while ast driver still takes this lock before calling it. Remove the caller side lock for avoid a fatal deadlock. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/ast')
-rw-r--r--drivers/gpu/drm/ast/ast_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c
index 2ba39ac7d222..44074fbcf7ff 100644
--- a/drivers/gpu/drm/ast/ast_drv.c
+++ b/drivers/gpu/drm/ast/ast_drv.c
@@ -94,9 +94,7 @@ static int ast_drm_thaw(struct drm_device *dev)
94 ast_post_gpu(dev); 94 ast_post_gpu(dev);
95 95
96 drm_mode_config_reset(dev); 96 drm_mode_config_reset(dev);
97 drm_modeset_lock_all(dev);
98 drm_helper_resume_force_mode(dev); 97 drm_helper_resume_force_mode(dev);
99 drm_modeset_unlock_all(dev);
100 98
101 console_lock(); 99 console_lock();
102 ast_fbdev_set_suspend(dev, 0); 100 ast_fbdev_set_suspend(dev, 0);