drm/amdgpu: fix PRT teardown on VM fini v3
authorChristian König <christian.koenig@amd.com>
Tue, 14 Feb 2017 15:02:52 +0000 (16:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:02 +0000 (23:53 -0400)
commit451bc8eb8fe61ee89ebf44e7ee290ab88bb2b2d5
tree54c06cd17f5ad0b521e0a6391a40ddc035307d0e
parent0b15f2fc3ca20f10c0a3ab659c923a3f693cf29f
drm/amdgpu: fix PRT teardown on VM fini v3

v2: new approach fixing this by registering a fence callback for
    all users of the VM on teardown
v3: agd: rebase

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h