Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b4e896f authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Remove unused no-shrinker-steal

parent f3f6184c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1318,7 +1318,6 @@ struct i915_gem_mm {
	struct notifier_block oom_notifier;
	struct notifier_block vmap_notifier;
	struct shrinker shrinker;
	bool shrinker_no_lock_stealing;

	/** LRU list of objects with fence regs on them. */
	struct list_head fence_list;
+0 −3
Original line number Diff line number Diff line
@@ -244,9 +244,6 @@ static bool i915_gem_shrinker_lock(struct drm_device *dev, bool *unlock)
		if (!mutex_is_locked_by(&dev->struct_mutex, current))
			return false;

		if (to_i915(dev)->mm.shrinker_no_lock_stealing)
			return false;

		*unlock = false;
	} else
		*unlock = true;