projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a81951
)
drm/ast: use drm_modeset_lock_all
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 2 Dec 2012 00:34:59 +0000
(
01:34
+0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 21:16:50 +0000
(22:16 +0100)
Just a call to drm_helper_resume_force_mode, obviously wants full
locking for that.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/ast/ast_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ast/ast_drv.c
b/drivers/gpu/drm/ast/ast_drv.c
index 2d2c2f8d6dc668e29202b947461314fc4ccf71be..df0d0a08097a13e4765cd649545b855f0614ff91 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_drv.c
+++ b/
drivers/gpu/drm/ast/ast_drv.c
@@
-94,9
+94,9
@@
static int ast_drm_thaw(struct drm_device *dev)
ast_post_gpu(dev);
drm_mode_config_reset(dev);
-
mutex_lock(&dev->mode_config.mutex
);
+
drm_modeset_lock_all(dev
);
drm_helper_resume_force_mode(dev);
-
mutex_unlock(&dev->mode_config.mutex
);
+
drm_modeset_unlock_all(dev
);
console_lock();
ast_fbdev_set_suspend(dev, 0);