linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Felix Kuehling 74e4071665 drm/amdkfd: Use wait_queue_t to implement event waiting
Use standard wait queues for waiting and waking up waiting threads
instead of inventing our own. We still have our own wait loop
because the HSA event semantics require the ability to have one
thread waiting on multiple wait queues (events) at the same time.

Signed-off-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-10-27 19:35:25 -04:00
..
cik_event_interrupt.c drm/amdkfd: Add SDMA trap src id to the KFD isr wanted list 2017-10-27 19:35:18 -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
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 drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_dbgmgr.h drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
kfd_device_queue_manager_cik.c drm/amdkfd: Adding new IOCTL for scratch memory v2 2017-08-15 23:00:20 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: Adding new IOCTL for scratch memory v2 2017-08-15 23:00:20 -04:00
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 VMID bitmap from KGD v2 2017-09-20 18:10:18 -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: Use wait_queue_t to implement event waiting 2017-10-27 19:35:25 -04:00
kfd_events.h drm/amdkfd: Use wait_queue_t to implement event waiting 2017-10-27 19:35:25 -04:00
kfd_flat_memory.c drm/amdkfd: Change x==NULL/false references to !x 2017-08-15 23:00:06 -04:00
kfd_interrupt.c drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -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/amd: Update MEC HQD loading code for KFD 2017-08-15 23:00:17 -04:00
kfd_mqd_manager_vi.c drm/amd: Update MEC HQD loading code for KFD 2017-08-15 23:00:17 -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 drm/amd: Update MEC HQD loading code for KFD 2017-08-15 23:00:17 -04:00
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 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: Clean up kfd_wait_on_events 2017-10-27 19:35:22 -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: Don't dereference kfd_process.mm 2017-10-27 19:35:19 -04:00
kfd_queue.c drm/amdkfd: Remove BUG_ONs for NULL pointer arguments 2017-08-15 23:00:09 -04:00
kfd_topology.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_topology.h
Makefile drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00