From: Chris Wilson Date: Tue, 25 Mar 2014 13:23:05 +0000 (+0000) Subject: drm/i915: Refactor common lock handling between shrinker count/scan X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b453c4dbc3af023540f61419223104cb1bb80d16;p=pandora-kernel.git 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 Reviewed-by: Robert Beckett Reviewed-by: Rafael Barbalho Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed