From: Imre Deak Date: Wed, 13 Feb 2013 19:56:05 +0000 (+0200) Subject: drm/i915: don't clflush gem objects in stolen memory X-Git-Tag: v3.9-rc1~83^2~11^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=769ce4643b775496166d09c227b070cc38f9e205;p=pandora-kernel.git drm/i915: don't clflush gem objects in stolen memory As explained by Chris Wilson gem objects in stolen memory are always coherent with the GPU so we don't need to ever flush the CPU caches for these. This fixes a breakage - at least with the compact sg patches applied - during the resume/restore gtt mappings path, when we tried to clflush an FB object in stolen memory, but since stolen objects don't have backing pages we passed an invalid page pointer to drm_clflush_page(). Signed-off-by: Imre Deak Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed