From: Michal Srb Date: Tue, 6 Aug 2013 13:26:50 +0000 (+0200) Subject: drm/cirrus: Invalidate page tables when pinning a BO X-Git-Tag: v3.11-rc5~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109a51598869a39fdcec2d49672a9a39b6d89481;p=pandora-kernel.git drm/cirrus: Invalidate page tables when pinning a BO This is a cirrus version of Egbert Eich's patch for mgag200. Without bo.bdev->dev_mapping set, the ttm_bo_unmap_virtual_locked called from ttm_bo_handle_move_mem returns with no effect. If any application accessed the memory before it was moved, it will access wrong memory next time. This causes crashes when changing resolution down. Signed-off-by: Michal Srb Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed