From: Chris Wilson Date: Tue, 9 Oct 2012 18:24:38 +0000 (+0100) Subject: drm/i915: Only apply the mb() when flushing the GTT domain during a finish X-Git-Tag: v3.9-rc1~83^2~36^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97c809fd9cf5e914322b53773ad0d67efe503fde;p=pandora-kernel.git drm/i915: Only apply the mb() when flushing the GTT domain during a finish Now that we seem to have brought order to the GTT barriers, the last one to review is the terminal barrier before we unbind the buffer from the GTT. This needs to only be performed if the buffer still resides in the GTT domain, and so we can skip some needless barriers otherwise. Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed