From: Daniel Vetter Date: Sat, 27 Nov 2010 21:30:41 +0000 (+0100) Subject: drm/i915: fix regression due to ba3d8d749b01548b9 X-Git-Tag: v2.6.37-rc5~39^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de18a29e0fa3904894b4e02fae0e712cd43f740c;p=pandora-kernel.git drm/i915: fix regression due to ba3d8d749b01548b9 We don't track gpu flush request in any special way. So even with obj->write_domain == 0, a gpu flush might be outstanding but no yet executed. Even worse, the latest request might use the object only for reading. So and unconditional call to object_wait_rendering is needed for !pipelined. Hence revert that patch fully and untangle the flushing from the synchronization again. Reported-by: Keith Packard Tested-by: Keith Packard Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed