Patch "drm: Cancel drm_fb_helper_dirty_work on unload" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm: Cancel drm_fb_helper_dirty_work on unload
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-cancel-drm_fb_helper_dirty_work-on-unload.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
f21b9a92ca7c29382909eaab9facc2cf46f2cc0bMon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Tue, 7 Feb 2017 12:49:55 +0000
Subject: drm: Cancel drm_fb_helper_dirty_work on unload
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Chris Wilson <[email protected]>
commit f21b9a92ca7c29382909eaab9facc2cf46f2cc0b upstream.
We can not allow the worker to run after its fbdev, or even the module, has been removed.
--- drivers/gpu/drm/drm_fb_helper.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_fb_helper.c +2 -0
@@ -848,6 +848,8 @@ void drm_fb_helper_fini(struct drm_fb_heif (!drm_fbdev_emulation)return ; +cancel_work_sync (&fb_helper->dirty_work); +if (!list_empty (&fb_helper->kernel_fb_list)) {list_del (&fb_helper->kernel_fb_list);if (list_empty (&kernel_fb_helper_list)) {
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/drm-cancel-drm_fb_helper_dirty_work-on-unload.patch queue-4.9/drm-i915-gvt-disable-access-to-stolen-memory-as-a-guest.patch queue-4.9/drm-cancel-drm_fb_helper_resume_work-on-unload.patch