diff --git a/drivers/gpu/drm/i915/i915_gem_evict.c b/drivers/gpu/drm/i915/i915_gem_evict.c index 8daa8a78cdc06897ab3b75d1b582dd886231c17c..a6b769994d8df6cbdc834a608162fe320c7dd830 100644 --- a/drivers/gpu/drm/i915/i915_gem_evict.c +++ b/drivers/gpu/drm/i915/i915_gem_evict.c @@ -216,6 +216,7 @@ i915_gem_evict_something(struct i915_address_space *vm, if (ret) return ret; + cond_resched(); goto search_again; }