aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorYong Zhao <yong.zhao@amd.com>2017-11-01 19:21:28 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2017-11-01 19:21:28 -0400
commite2a8e99964ded3a156137c1a02832493ee727721 (patch)
treeb96b34d82365dabf3a52fc65ccb1678293b15e78 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentbba9662db79cb21c532bff2e83843037a616ed86 (diff)
drm/amdkfd: Avoid calling amd_iommu_unbind_pasid() when suspending
When kfd suspending on APU, we do not need to call amd_iommu_unbind_pasid(), because pasid will be unbound automatically when power goes off. On the other hand, calling amd_iommu_unbind_pasid() will trigger kfd_process_iommu_unbind_callback() if the process is not terminating. By design, kfd_process_iommu_unbind_callback() should only be called for process terminating. So we would rather not to call amd_iommu_unbind_pasid() when suspending. Signed-off-by: Yong Zhao <yong.zhao@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions