From: Daniel Vetter Date: Fri, 20 Aug 2010 22:25:16 +0000 (+0200) Subject: drm/i915: unload: fix retire_work races X-Git-Tag: v2.6.37-rc1~92^2~28^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ef9da2cdb64e7926404dd2b755bbbfe98eaeaf;p=pandora-kernel.git drm/i915: unload: fix retire_work races ums-gem code correctly cancels the retire work (at lastclose time), kms does not do so. Fix this by canceling the work right after ideling the gpu. While staring at the code I noticed that the work function is not static. Fix this, too. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed