commit | b453c4dbc3af023540f61419223104cb1bb80d16 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Mar 25 13:23:05 2014 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue May 20 09:46:52 2014 +0200 |
tree | ed10abc8bc5d01c42fb620a13660c7e35ba5c6bf | |
parent | ceabbba524fb43989875f66a6c06d7ce0410fe5c [diff] |
drm/i915: Refactor common lock handling between shrinker count/scan We can share a few lines of tricky lock handling we need to use for both shrinker routines and in the process fix the return value for count() when reporting a deadlock. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Robert Beckett <robert.beckett@intel.com> Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>