From: Chris Wilson Date: Thu, 23 Aug 2012 12:12:52 +0000 (+0100) Subject: drm/i915: Use cpu relocations if the object is in the GTT but not mappable X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~30^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504c7267a1e84b157cbd7e9c1b805e1bc0c2c846;p=pandora-kernel.git drm/i915: Use cpu relocations if the object is in the GTT but not mappable This prevents the case of unbinding the object in order to process the relocations through the GTT and then rebinding it only to then proceed to use cpu relocations as the object is now in the CPU write domain. By choosing to use cpu relocations up front, we can therefore avoid the rebind penalty. Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed