From: Daniel Vetter Date: Fri, 20 Aug 2010 19:23:20 +0000 (+0200) Subject: drm/i915: unload: ensure that gem is idle X-Git-Tag: v2.6.37-rc1~92^2~28^2~254 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c911fc1c6ad61b56869ee521f1a477c741b039da;p=pandora-kernel.git drm/i915: unload: ensure that gem is idle When the module unloads, all users should be gone, hence all bo references held by userspace, too. This should already result in an idle ringbuffer. Still, be paranoid and idle gem before starting the unload dance. Also kill the call to i915_gem_lastclose under an if (kms), it's a noop for kms. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed