]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915/fbc: make sure we cancel the work function at fbc_disable
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 19 Jan 2016 13:35:47 +0000 (11:35 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:15:43 +0000 (18:15 -0200)
commit65c7600f07d4eb372c078dcd7138a9276f5705eb
tree0aaa3bc67e0013cc905c38ef63e6577259a05aa0
parentc937ab3e584ea66433ce743a42c752e31f3acdbe
drm/i915/fbc: make sure we cancel the work function at fbc_disable

Just to be sure nothing will survive a module unload. We need to do
this after the unlock in order to make sure the function won't get
stuck trying to grab the lock we already own while we wait for it to
finish.

Reported-by: Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453210558-7875-15-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_fbc.c