drm/i915: Remove the GEM idle worker
Nothing inside the idle worker now requires struct_mutex, so we can remove the indirection of using our own worker. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-9-chris@chris-wilson.co.uk
This commit is contained in:
@@ -3662,11 +3662,6 @@ i915_drop_caches_set(void *data, u64 val)
|
||||
i915_gem_shrink_all(i915);
|
||||
fs_reclaim_release(GFP_KERNEL);
|
||||
|
||||
if (val & DROP_IDLE) {
|
||||
flush_delayed_work(&i915->gem.retire_work);
|
||||
flush_work(&i915->gem.idle_work);
|
||||
}
|
||||
|
||||
if (val & DROP_FREED)
|
||||
i915_gem_drain_freed_objects(i915);
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user