From: Michel Thierry Date: Tue, 9 Sep 2014 12:04:43 +0000 (+0100) Subject: drm/i915: fix another use-after-free in i915_gem_evict_everything X-Git-Tag: fixes-against-v3.18-rc2~73^2~4^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf303626748e0a5c059e453d025539583d870116;p=pandora-kernel.git drm/i915: fix another use-after-free in i915_gem_evict_everything Also here, i915_gem_evict_vm causes an unbind, which can end up dropping the last ref to the ppgtt. Triggered by igt gem_evict_everything test. Testcase: igt/gem_evict_everything Signed-off-by: Michel Thierry Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed