drm/amdgpu: add amdgpu_vm_update_func
authorChristian König <christian.koenig@amd.com>
Thu, 30 Aug 2018 13:55:54 +0000 (15:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 21:30:32 +0000 (16:30 -0500)
commit1c860a022f65224d6e8af71cc9f1411cb779f666
tree60f77c254f6028a40bda905215a0fc2ed9b6d55e
parentba79fde47b9b3a04932a5385e5530616a77d4536
drm/amdgpu: add amdgpu_vm_update_func

Add helper to call the update function for both BO and shadow.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c