aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-20 15:23:20 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-08 05:13:28 -0400
commitc911fc1c6ad61b56869ee521f1a477c741b039da (patch)
tree4e6ac0096e85ce04c44fe86ad497f531d8792981 /drivers/gpu/drm/i915/i915_gem.c
parent67e77c5ae8bff6f805d207541f1315051248a87b (diff)
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 <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions