diff options
author | 2018-03-15 17:27:41 -0400 | |
---|---|---|
committer | 2018-03-15 17:27:41 -0400 | |
commit | 3486625bbfb629621f8a2402e2b24e7ab0a86ef4 (patch) | |
tree | 1ed69aa567002c2dc3183f3b053e2c3013ff7bf8 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | drm/amdgpu: Move KFD-specific fields into struct amdgpu_vm (diff) | |
download | wireguard-linux-3486625bbfb629621f8a2402e2b24e7ab0a86ef4.tar.xz wireguard-linux-3486625bbfb629621f8a2402e2b24e7ab0a86ef4.zip |
drm/amdgpu: Fix initial validation of PD BO for KFD VMs
Make sure the PD BO is valid and attach the eviction fence during VM
creation. This ensures that the pd_phys_address is actually valid
and an eviction that would invalidate it triggers a KFD process
eviction like it should.
v2: Use uninterruptible waiting in initial PD validation
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions