linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Yong Zhao e2a8e99964 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>
2017-11-01 19:21:28 -04:00
..
cik_event_interrupt.c drm/amdkfd: Use IH context ID for signal lookup 2017-10-27 19:35:28 -04:00
cik_int.h drm/amdkfd: Add SDMA trap src id to the KFD isr wanted list 2017-10-27 19:35:18 -04:00
cik_regs.h
Kconfig drm/radeon: deprecate and remove KFD interface 2017-10-30 14:16:21 +01:00
kfd_chardev.c drm/amdkfd: Clean up kfd_wait_on_events 2017-10-27 19:35:22 -04:00
kfd_crat.h
kfd_dbgdev.c drm/amdkfd: Compress unnecessary function parameters 2017-09-27 00:09:53 -04:00
kfd_dbgdev.h
kfd_dbgmgr.c
kfd_dbgmgr.h
kfd_device_queue_manager_cik.c
kfd_device_queue_manager_vi.c
kfd_device_queue_manager.c drm/amdkfd: Improve multiple SDMA queues support per process 2017-09-27 00:09:56 -04:00
kfd_device_queue_manager.h drm/amdkfd: Improve process termination handling 2017-09-27 00:09:52 -04:00
kfd_device.c drm/amdkfd: use a high priority workqueue for IH work 2017-10-27 19:35:34 -04:00
kfd_doorbell.c drm/amdkfd: Separate doorbell allocation from PASID 2017-09-26 13:07:03 -04:00
kfd_events.c drm/amdkfd: Make event limit dependent on user mode mapping size 2017-10-27 19:35:29 -04:00
kfd_events.h drm/amdkfd: Simplify event ID and signal slot management 2017-10-27 19:35:27 -04:00
kfd_flat_memory.c
kfd_interrupt.c drm/amdkfd: use a high priority workqueue for IH work 2017-10-27 19:35:34 -04:00
kfd_kernel_queue_cik.c
kfd_kernel_queue_vi.c
kfd_kernel_queue.c drm/amdkfd: Reuse CHIP_* from amdgpu v2 2017-09-20 18:10:19 -04:00
kfd_kernel_queue.h
kfd_module.c drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
kfd_mqd_manager_cik.c drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD 2017-11-01 19:21:27 -04:00
kfd_mqd_manager_vi.c drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD 2017-11-01 19:21:27 -04:00
kfd_mqd_manager.c drm/amdkfd: Reuse CHIP_* from amdgpu v2 2017-09-20 18:10:19 -04:00
kfd_mqd_manager.h
kfd_packet_manager.c drm/amdkfd: Improve multiple SDMA queues support per process 2017-09-27 00:09:56 -04:00
kfd_pasid.c drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h
kfd_pm4_headers.h
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Clean up the data structure in kfd_process 2017-11-01 19:21:26 -04:00
kfd_process_queue_manager.c drm/amdkfd: Limit queue number per process and device to 127 2017-09-27 00:09:55 -04:00
kfd_process.c drm/amdkfd: Avoid calling amd_iommu_unbind_pasid() when suspending 2017-11-01 19:21:28 -04:00
kfd_queue.c
kfd_topology.c
kfd_topology.h
Makefile