]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9478c9d6af408281cedfc27180dcc988cfa53d4d
treed811558bee0d3f2289bc0d3b061ac2cc51c0964a
parent989551dcc898c845cc5e8671a043e5f8008c4080
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