From: Chris Wilson Date: Tue, 9 Sep 2014 06:02:43 +0000 (+0100) Subject: drm/i915: Drop any active reference before unbinding X-Git-Tag: fixes-against-v3.18-rc2~73^2~4^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d1ef21dafd13ff5cedbde840544d6e86669fe1d;p=pandora-kernel.git drm/i915: Drop any active reference before unbinding Before we process the final unbind on an object and move it to the unbound list, it is semantically cleaner if there are no more active references to the object. (An active reference would imply that it was still being accessed by the GPU after it became inaccessible.) The caveat is that all callsites must be prepared for the object to disappeared during the unbind - i.e. they must hold their own reference. Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed