From: Chris Wilson Date: Thu, 13 Jan 2011 11:03:48 +0000 (+0000) Subject: drm/i915/execbuffer: Clear domains before beginning reloc processing X-Git-Tag: v2.6.38-rc1~54^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=595dad76a0d213adc3dbe4f463f7887e905082b9;p=pandora-kernel.git drm/i915/execbuffer: Clear domains before beginning reloc processing After reordering the sequence of relocating objects, commit 6fe4f1404, we can no longer rely on seeing all reloc targets prior to performing the relocation. As a result we were ignoring the need to flush objects from the render cache and invalidate the sampler caches, resulting in rendering glitches. So we need to clear the relocation domains earlier. Reported-by: Linus Torvalds Tested-by: Linus Torvalds Signed-off-by: Chris Wilson --- Reading git-diff-tree failed