Searched refs:KFD_EC_MASK (Results 1 – 8 of 8) sorted by relevance
/linux/include/uapi/linux/ |
H A D | kfd_ioctl.h | 971 #define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) macro 974 #define KFD_EC_MASK_QUEUE (KFD_EC_MASK(EC_QUEUE_WAVE_ABORT) | \ 975 KFD_EC_MASK(EC_QUEUE_WAVE_TRAP) | \ 976 KFD_EC_MASK(EC_QUEUE_WAVE_MATH_ERROR) | \ 977 KFD_EC_MASK(EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION) | \ 978 KFD_EC_MASK(EC_QUEUE_WAVE_MEMORY_VIOLATION) | \ 979 KFD_EC_MASK(EC_QUEUE_WAVE_APERTURE_VIOLATION) | \ 980 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_DIM_INVALID) | \ 981 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID) | \ 982 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_CODE_INVALID) | \ [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_debug.c | 140 if (event_mask & KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION)) { in kfd_dbg_ev_raise() 169 target_id = event_mask & KFD_EC_MASK(EC_QUEUE_NEW) ? in kfd_dbg_ev_raise() 240 } else if (trap_mask & KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION)) { in kfd_set_dbg_ev_from_interrupt() 261 if (error_reason & KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION)) { in kfd_dbg_send_exception_to_runtime() 281 error_reason &= ~KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION); in kfd_dbg_send_exception_to_runtime() 284 if (error_reason & (KFD_EC_MASK(EC_PROCESS_RUNTIME))) { in kfd_dbg_send_exception_to_runtime() 290 error_reason &= ~KFD_EC_MASK(EC_PROCESS_RUNTIME); in kfd_dbg_send_exception_to_runtime() 951 if (!(queue->properties.exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info() 974 if (!(pdd->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info() 996 if (!(target->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info() [all …]
|
H A D | kfd_int_process_v10.c | 287 KFD_EC_MASK(KFD_DEBUG_CP_BAD_OP_ECODE(context_id0)), in event_interrupt_wq_v10() 330 KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION), in event_interrupt_wq_v10()
|
H A D | kfd_int_process_v11.c | 321 KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION), in event_interrupt_wq_v11() 337 KFD_EC_MASK(KFD_CTXID0_CP_BAD_OP_ECODE(context_id0)), in event_interrupt_wq_v11()
|
H A D | kfd_int_process_v9.c | 436 KFD_EC_MASK(KFD_DEBUG_CP_BAD_OP_ECODE(context_id0)), in event_interrupt_wq_v9() 484 KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION), in event_interrupt_wq_v9()
|
H A D | kfd_chardev.c | 398 kfd_dbg_ev_raise(KFD_EC_MASK(EC_QUEUE_NEW), p, dev, queue_id, false, NULL, 0); in kfd_ioctl_create_queue() 2805 kfd_dbg_ev_raise(KFD_EC_MASK(EC_PROCESS_RUNTIME), in runtime_enable() 2832 kfd_dbg_ev_raise(KFD_EC_MASK(EC_PROCESS_RUNTIME), in runtime_disable()
|
H A D | kfd_process_queue_manager.c | 244 q_properties->exception_status = KFD_EC_MASK(EC_QUEUE_NEW); in init_user_queue()
|
H A D | kfd_device_queue_manager.c | 1036 is_new = q->properties.exception_status & KFD_EC_MASK(EC_QUEUE_NEW); in suspend_single_queue() 2440 kfd_dbg_ev_raise(KFD_EC_MASK(EC_DEVICE_QUEUE_DELETE), in destroy_queue_cpsch()
|