From: Daniel Vetter Date: Thu, 8 Sep 2011 12:00:22 +0000 (+0200) Subject: drm/i915: properly cancel rps_work on module unload v2 X-Git-Tag: v3.2-rc1~135^2~2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdd4d98e56e0919bb324c2ab1ff66395cf3b385;p=pandora-kernel.git drm/i915: properly cancel rps_work on module unload v2 The rps disabling code wasn't properly cancelling outstanding work items. Also add a comment that explains why we're not racing with the work item that could unmask interrupts - that piece of code confused me quite a bit. v2: Ben Widawsky pointed out that the first patch would deadlock (and a few lesser problems). All corrected. Signed-off-by: Daniel Vetter Reviewed-by: Ben Widawsky Reviewed-by: Chris Wilson Signed-off-by: Keith Packard --- Reading git-diff-tree failed