drm/i915: Make the inactive object shrinker per-device
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Oct 2010 11:51:39 +0000 (12:51 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Oct 2010 19:55:01 +0000 (20:55 +0100)
commit17250b71553680bc6e927497aa619ab06ab1015b
treeb311b8a425bdf7e5809b6f51237a5d3ebb20cfa0
parent176f28ebf4303b4f7e3a5bd8be7842a8bbecd9c3
drm/i915: Make the inactive object shrinker per-device

Eliminate the racy device unload by embedding a shrinker into each
device. Smaller, simpler code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c