From: Eric Anholt Date: Wed, 26 Nov 2008 21:58:13 +0000 (-0800) Subject: drm/i915: Return error in i915_gem_set_to_gtt_domain if we're not in the GTT. X-Git-Tag: v2.6.28-rc8~53^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0235439232cb6f8a54f8976aa8330c1c98ebad0b;p=pandora-kernel.git drm/i915: Return error in i915_gem_set_to_gtt_domain if we're not in the GTT. It's only for flushing caches appropriately for GTT access, not for actually getting it there. Prevents potential smashing of cpu read/write domains on unbound objects. Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed