linux/drivers/gpu/drm/amd/amdkfd
shaoyunl 2640c3facb drm/amdkfd: Handle VM faults in KFD
1. Pre-GFX9 the amdgpu ISR saves the vm-fault status and address per
   per-vmid. amdkfd needs to get the information from amdgpu through the
   new get_vm_fault_info interface. On GFX9 and later, all the required
   information is in the IH ring
2. amdkfd unmaps all queues from the faulting process and create new
   run-list without the guilty process
3. amdkfd notifies the runtime of the vm fault trap via EVENT_TYPE_MEMORY

Signed-off-by: shaoyun liu <shaoyun.liu@amd.com>
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>
2018-07-11 22:32:50 -04:00
..
cik_event_interrupt.c drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -04:00
cik_int.h drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -04:00
cik_regs.h drm/amdkfd: Use volatile MTYPE in default/alternate apertures 2018-05-01 17:56:03 -04:00
cwsr_trap_handler_gfx8.asm drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
cwsr_trap_handler_gfx9.asm drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
cwsr_trap_handler.h drm/amdkfd: Fix race between scheduler and context restore 2018-07-11 22:32:46 -04:00
Kconfig drm/amdkfd: fix build, select MMU_NOTIFIER 2018-04-24 12:50:04 +03:00
kfd_chardev.c drm/admkfd use modern ktime accessors 2018-07-11 14:41:00 +02:00
kfd_crat.c drm/amdkfd: Add Vega10 topology and device info 2018-04-10 17:33:18 -04:00
kfd_crat.h drm/amdkfd: Add topology support for dGPUs 2017-12-08 23:08:59 -05:00
kfd_dbgdev.c drm/amdkfd: Hardware DWORD size is 4 bytes 2017-11-06 14:52:27 -05:00
kfd_dbgdev.h drm/amdkfd: avoid CONFIG_ prefix for non-Kconfig symbols 2015-06-06 20:48:34 +03:00
kfd_dbgmgr.c drm/amdkfd: Make sched_policy a per-device setting 2018-01-04 17:17:43 -05:00
kfd_dbgmgr.h drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
kfd_debugfs.c drm/amdkfd: Add debugfs support to KFD 2017-11-27 18:29:49 -05:00
kfd_device_queue_manager_cik.c drm/amdkfd: Add dGPU support to the device queue manager 2018-01-04 17:17:44 -05:00
kfd_device_queue_manager_v9.c drm/amdkfd: Add GFXv9 device queue manager 2018-04-10 17:33:09 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: Add dGPU support to the device queue manager 2018-01-04 17:17:44 -05:00
kfd_device_queue_manager.c drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -04:00
kfd_device_queue_manager.h drm/amdkfd: Reliably prevent reclaim-FS while holding DQM lock 2018-07-11 22:32:44 -04:00
kfd_device.c drm/amdkfd: Stop using GFP_NOIO explicitly 2018-07-11 22:32:45 -04:00
kfd_doorbell.c drm/amdkfd: Implement doorbell allocation for SOC15 2018-04-10 17:33:05 -04:00
kfd_events.c drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -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 drm/amdkfd: Support flat memory apertures for GFXv9 2018-04-10 17:33:15 -04:00
kfd_int_process_v9.c drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -04:00
kfd_interrupt.c drm/amdkfd: Remove vla 2018-04-13 14:24:12 -07:00
kfd_iommu.c drm/amdkfd: Centralize IOMMUv2 code and make it conditional 2017-12-08 19:22:12 -05:00
kfd_iommu.h drm/amdkfd: Centralize IOMMUv2 code and make it conditional 2017-12-08 19:22:12 -05:00
kfd_kernel_queue_cik.c drm/amdkfd: Add 64-bit doorbell and wptr support to kernel queue 2018-04-08 22:03:51 -04:00
kfd_kernel_queue_v9.c drm/amdkfd: Add GFXv9 PM4 packet writer functions 2018-04-10 17:33:07 -04:00
kfd_kernel_queue_vi.c drm/amdkfd: Add GFXv9 PM4 packet writer functions 2018-04-10 17:33:07 -04:00
kfd_kernel_queue.c drm/amdkfd: Fix kernel queue rollback_packet 2018-04-10 17:33:12 -04:00
kfd_kernel_queue.h drm/amdkfd: Add 64-bit doorbell and wptr support to kernel queue 2018-04-08 22:03:51 -04:00
kfd_module.c drm/amdkfd: Add GFXv9 device queue manager 2018-04-10 17:33:09 -04:00
kfd_mqd_manager_cik.c drm/amdkfd: Stop using GFP_NOIO explicitly 2018-07-11 22:32:45 -04:00
kfd_mqd_manager_v9.c drm/amdkfd: Stop using GFP_NOIO explicitly 2018-07-11 22:32:45 -04:00
kfd_mqd_manager_vi.c drm/amdkfd: Stop using GFP_NOIO explicitly 2018-07-11 22:32:45 -04:00
kfd_mqd_manager.c drm/amdkfd: Add GFXv9 MQD manager 2018-04-10 17:33:08 -04:00
kfd_mqd_manager.h drm/amdkfd: Add debugfs support to KFD 2017-11-27 18:29:49 -05:00
kfd_packet_manager.c drm/amdkfd: Locking PM mutex while allocating IB buffer 2018-05-01 17:56:10 -04:00
kfd_pasid.c drm/amdkfd: Support enumerating non-GPU devices 2017-12-08 23:08:53 -05:00
kfd_pm4_headers_ai.h drm/amdkfd: Add GFXv9 PM4 packet writer functions 2018-04-10 17:33:07 -04:00
kfd_pm4_headers_diq.h drm/amdkfd: Add skeleton H/W debugger module support 2015-06-03 11:32:28 +03:00
kfd_pm4_headers_vi.h drm/amdkfd: Update PM4 packet headers 2017-08-15 23:00:15 -04:00
kfd_pm4_headers.h drm/amdkfd: Update PM4 packet headers 2017-08-15 23:00:15 -04:00
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Handle VM faults in KFD 2018-07-11 22:32:50 -04:00
kfd_process_queue_manager.c drm/amdkfd: Remove queue node when destroy queue failed 2018-05-01 17:56:11 -04:00
kfd_process.c drm/amdkfd: Fix error codes in kfd_get_process 2018-07-11 22:32:47 -04:00
kfd_queue.c drm/amdkfd: use %px to print user space address instead of %p 2018-05-01 17:56:04 -04:00
kfd_topology.c drm/amdkfd: Add Vega10 topology and device info 2018-04-10 17:33:18 -04:00
kfd_topology.h drm/amdkfd: Add Vega10 topology and device info 2018-04-10 17:33:18 -04:00
Makefile drm/amdkfd: Add SOC15 interrupt processing support 2018-04-10 17:33:10 -04:00
soc15_int.h drm/amdkfd: Add SOC15 interrupt processing support 2018-04-10 17:33:10 -04:00