Skip to content
Commit bbe2e11a authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Do not return -1 from shrinker when nr_to_scan == 0



The error code is only expected during the actual pruning and not during
the first measurement (nr_to_scan == 0) pass.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 4a684a41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment