From: Eric Anholt Date: Tue, 14 Jun 2011 23:43:09 +0000 (-0700) Subject: Revert "drm/i915: Kill GTT mappings when moving from GTT domain" X-Git-Tag: v3.0-rc5~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e92d03bff9a0d0bcbb812c9b1290ca96c9338d45;p=pandora-kernel.git Revert "drm/i915: Kill GTT mappings when moving from GTT domain" This reverts commit 4a684a4117abd756291969336af454e8a958802f. Userland has always been required to set the object's domain to GTT before using it through a GTT mapping, it's not something that the kernel is supposed to enforce. (The pagefault support is so that we can handle multiple mappings without userland having to pin across them, not so that userland can use GTT after GPU domains without telling the kernel). Fixes 19.2% +/- 0.8% (n=6) performance regression in cairo-gl firefox-talos-gfx on my T420 latop. Signed-off-by: Keith Packard --- Reading git-diff-tree failed