From: Daniel Vetter Date: Mon, 11 Aug 2014 10:08:58 +0000 (+0200) Subject: drm/i915: Fix secure dispatch with full ppgtt X-Git-Tag: fixes-against-v3.18-rc2~73^2~73^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da51a1e7e398129d9fddd4b26b8469145dd4fd08;p=pandora-kernel.git drm/i915: Fix secure dispatch with full ppgtt Based upon a hunk from a patch from Chris Wilson, but augmented to: - Process the batch in the full ppgtt vm so that self-relocations match again with userspace's expectations.. - Add a comment why plain pin for the global gtt binding is safe at that point. v2: Drop local bind_vm variable (Chris). v3: Explain why this works despite the lack of proper active tracking for the ggtt batch vma. Cc: Chris Wilson Cc: Ben Widawsky Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed