projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21b9a9
)
drm: Cancel drm_fb_helper_resume_work on unload
author
Chris Wilson
<
[email protected]
>
Tue, 7 Feb 2017 12:49:56 +0000
(12:49 +0000)
committer
Daniel Vetter
<
[email protected]
>
Wed, 8 Feb 2017 15:15:42 +0000
(16:15 +0100)
We can not allow the worker to run after its fbdev, or even the module,
has been removed.
Fixes: cfe63423d9be ("drm/fb-helper: Add drm_fb_helper_set_suspend_unlocked()")
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: Noralf Trønnes <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Cc: Jani Nikula <
[email protected]
>
Cc: Sean Paul <
[email protected]
>
Cc:
[email protected]
Cc: <
[email protected]
> # v4.9+
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/drm_fb_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_fb_helper.c
b/drivers/gpu/drm/drm_fb_helper.c
index 7f5f936c8697fa0ea4f9fa0294f5991a5267fa47..f6d4d9700734e6d48792e90d47c7bfe4081116a1 100644
(file)
--- a/
drivers/gpu/drm/drm_fb_helper.c
+++ b/
drivers/gpu/drm/drm_fb_helper.c
@@
-860,6
+860,7
@@
void drm_fb_helper_fini(struct drm_fb_helper *fb_helper)
if (!drm_fbdev_emulation)
return;
+ cancel_work_sync(&fb_helper->resume_work);
cancel_work_sync(&fb_helper->dirty_work);
mutex_lock(&kernel_fb_helper_lock);