From: Eric Anholt Date: Wed, 9 Sep 2009 18:50:45 +0000 (-0700) Subject: drm/i915: Zap mmaps of objects before unbinding them from the GTT. X-Git-Tag: v2.6.32-rc1~52^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5323fd042f89164927ee8c311f0a975e8c846412;p=pandora-kernel.git drm/i915: Zap mmaps of objects before unbinding them from the GTT. Otherwise, some other userland writing into its buffer may race to land writes either after the CPU thinks it's got a coherent view, or after its GTT entries have been redirected to point at the scratch page. Either result is unpleasant. Signed-off-by: Eric Anholt --- Reading git-diff-tree failed