From: Christian König Date: Fri, 26 Jun 2015 10:31:29 +0000 (+0200) Subject: drm/radeon: fix adding all VAs to the freed list on remove v2 X-Git-Tag: omap-for-v4.3/legacy-v2-signed~65^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13e22aeba06aea2acdae657e988c93c22080858;p=pandora-kernel.git drm/radeon: fix adding all VAs to the freed list on remove v2 We only should do so when the BO_VA was actually mapped. Otherwise we get a nice error message on the next CS. v2: It actually doesn't matter if it was invalidated or not, if it was mapped we need to clear the area where it was mapped. Signed-off-by: Christian König Tested-by: Michel Dänzer (v1) Signed-off-by: Alex Deucher --- Reading git-diff-tree failed