From: Daniel Vetter Date: Fri, 20 Aug 2010 20:26:30 +0000 (+0200) Subject: drm/i915: unload: fix unpin_work related races X-Git-Tag: v2.6.37-rc1~92^2~28^2~255 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e77c5ae8bff6f805d207541f1315051248a87b;p=pandora-kernel.git drm/i915: unload: fix unpin_work related races Kill any outstanding unpin_work when destroying the corresponding crtc. Then flush the workqueue before the gem teardown, in case any unpin work is still outstanding. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed