linux_dsm_epyc7002/drivers/gpu/drm/amd/amdkfd
Felix Kuehling 32fa821958 drm/amdkfd: Handle remaining BUG_ONs more gracefully v2
In most cases, BUG_ONs can be replaced with WARN_ON with an error
return. In some void functions just turn them into a WARN_ON and
possibly an early exit.

v2:
* Cleaned up error handling in pm_send_unmap_queue
* Removed redundant WARN_ON in kfd_process_destroy_delayed

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-08-15 23:00:12 -04:00
..
cik_event_interrupt.c
cik_int.h
cik_regs.h drm/amdkfd: Use generic defines in new amd headers 2015-07-20 09:16:49 +03:00
Kconfig drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig 2015-07-20 09:16:48 +03:00
kfd_chardev.c drm/amdkfd: Fix goto usage v2 2017-08-15 23:00:07 -04:00
kfd_crat.h
kfd_dbgdev.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -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: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_device_queue_manager.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_device_queue_manager.h drm/amdkfd: Remove unused references to shared_resources.num_mec 2017-07-13 20:21:54 -05:00
kfd_device.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_doorbell.c drm/amdkfd: Fix doorbell initialization and finalization 2017-08-15 23:00:10 -04:00
kfd_events.c drm/amdkfd: Change x==NULL/false references to !x 2017-08-15 23:00:06 -04:00
kfd_events.h
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: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_kernel_queue.h
kfd_module.c drm/amdkfd: Fix goto usage v2 2017-08-15 23:00:07 -04:00
kfd_mqd_manager_cik.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_mqd_manager_vi.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_mqd_manager.c
kfd_mqd_manager.h
kfd_packet_manager.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_pasid.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_pm4_headers_diq.h
kfd_pm4_headers_vi.h drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
kfd_pm4_headers.h drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Fix doorbell initialization and finalization 2017-08-15 23:00:10 -04:00
kfd_process_queue_manager.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_process.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -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 drm/amdkfd: Set correct doorbell packet type for Carrizo 2015-07-20 09:16:49 +03:00
Makefile drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00