drm/radeon: update the VM after setting BO address v4
authorChristian König <christian.koenig@amd.com>
Fri, 12 Sep 2014 10:25:45 +0000 (12:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Nov 2014 18:00:20 +0000 (13:00 -0500)
commit2f2624c23511b4bf0dd3d4c5ae167715513f351d
treed811558bee0d3f2289bc0d3b061ac2cc51c0964a
parentd1968e1db892e53b5783570a5738477b2a51080b
drm/radeon: update the VM after setting BO address v4

This way the necessary VM update is kicked off immediately
if all BOs involved are in GPU accessible memory.

v2: fix vm lock
v3: immediately update unmaps as well
v4: use drm_free_large instead of kfree

Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gem.c