From: Chris Wilson Date: Sat, 14 Apr 2012 08:55:51 +0000 (+0100) Subject: drm/i915: Always flush tiling changes before accessing through the GTT X-Git-Tag: v3.5-rc1~83^2~81^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b09638f45379fd1f8cbcb0a95ea2b11f0c8b850;p=pandora-kernel.git drm/i915: Always flush tiling changes before accessing through the GTT As we defer updating the fence register from set-tiling to the point of use, we need to declare every access through the GTT as either fenced or unfenced. This patches fixes an old bug in the execbuffer relocation processing which could conceivably be hit by a pathological userspace. Signed-off-by: Chris Wilson Reviewed-by: Daniel Vetter Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed