commit | 75ef9da2cdb64e7926404dd2b755bbbfe98eaeaf | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Sat Aug 21 00:25:16 2010 +0200 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Sep 08 10:13:28 2010 +0100 |
tree | ef200ecba7bb6c9a8cb2ee3d830f30c5d5377207 | |
parent | c911fc1c6ad61b56869ee521f1a477c741b039da [diff] |
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 <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>