projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915: Remove unused no-shrinker-steal
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
i915
/
i915_gem_shrinker.c
diff --git
a/drivers/gpu/drm/i915/i915_gem_shrinker.c
b/drivers/gpu/drm/i915/i915_gem_shrinker.c
index
9b92b64
..
b80802b
100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_shrinker.c
+++ b/
drivers/gpu/drm/i915/i915_gem_shrinker.c
@@
-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;