Home
last modified time | relevance | path

Searched refs:exception_code (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/panfrost/
Dpanfrost_device.h249 panfrost_exception_is_fault(u32 exception_code) in panfrost_exception_is_fault() argument
251 return exception_code > DRM_PANFROST_EXCEPTION_MAX_NON_FAULT; in panfrost_exception_is_fault()
254 const char *panfrost_exception_name(u32 exception_code);
256 u32 exception_code);
Dpanfrost_device.c373 const char *panfrost_exception_name(u32 exception_code) in panfrost_exception_name() argument
375 if (WARN_ON(exception_code >= ARRAY_SIZE(panfrost_exception_infos) || in panfrost_exception_name()
376 !panfrost_exception_infos[exception_code].name)) in panfrost_exception_name()
379 return panfrost_exception_infos[exception_code].name; in panfrost_exception_name()
383 u32 exception_code) in panfrost_exception_needs_reset() argument
388 if (exception_code == DRM_PANFROST_EXCEPTION_JOB_BUS_FAULT) in panfrost_exception_needs_reset()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_debug.c896 uint32_t exception_code, in kfd_dbg_trap_query_exception_info() argument
914 if (KFD_DBG_EC_TYPE_IS_QUEUE(exception_code)) { in kfd_dbg_trap_query_exception_info()
938 if (!(queue->properties.exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
943 } else if (KFD_DBG_EC_TYPE_IS_DEVICE(exception_code)) { in kfd_dbg_trap_query_exception_info()
961 if (!(pdd->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
966 if (exception_code == EC_DEVICE_MEMORY_VIOLATION) { in kfd_dbg_trap_query_exception_info()
981 } else if (KFD_DBG_EC_TYPE_IS_PROCESS(exception_code)) { in kfd_dbg_trap_query_exception_info()
983 if (!(target->exception_status & KFD_EC_MASK(exception_code))) { in kfd_dbg_trap_query_exception_info()
988 if (exception_code == EC_PROCESS_RUNTIME) { in kfd_dbg_trap_query_exception_info()
1001 pr_debug("Bad exception type [%i]\n", exception_code); in kfd_dbg_trap_query_exception_info()
[all …]
Dkfd_debug.h68 uint32_t exception_code,
Dkfd_chardev.c3068 args->query_exception_info.exception_code, in kfd_ioctl_set_debug_trap()