From: Thomas Hellstrom Date: Mon, 28 Oct 2013 09:02:19 +0000 (-0700) Subject: drm/ttm: Fix memory type compatibility check X-Git-Tag: v3.2.54~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d81980f44bbc6e82d978e03258ab487a2d4e8057;p=pandora-kernel.git drm/ttm: Fix memory type compatibility check commit 59c8e66378fb78adbcd05f0d09783dde6fef282b upstream. Also check the busy placements before deciding to move a buffer object. Failing to do this may result in a completely unneccessary move within a single memory type. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed