diff options
| author | 2017-11-01 19:21:28 -0400 | |
|---|---|---|
| committer | 2017-11-01 19:21:28 -0400 | |
| commit | e2a8e99964ded3a156137c1a02832493ee727721 (patch) | |
| tree | b96b34d82365dabf3a52fc65ccb1678293b15e78 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD (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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
