Searched refs:exception_code (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h285 panfrost_exception_is_fault(u32 exception_code) argument
287 return exception_code > DRM_PANFROST_EXCEPTION_MAX_NON_FAULT;
290 const char *panfrost_exception_name(u32 exception_code);
292 u32 exception_code);
H A Dpanfrost_device.c375 const char *panfrost_exception_name(u32 exception_code) argument
377 if (WARN_ON(exception_code >= ARRAY_SIZE(panfrost_exception_infos) ||
378 !panfrost_exception_infos[exception_code].name))
381 return panfrost_exception_infos[exception_code].name;
385 u32 exception_code)
390 if (exception_code == DRM_PANFROST_EXCEPTION_JOB_BUS_FAULT)
384 panfrost_exception_needs_reset(const struct panfrost_device *pfdev, u32 exception_code) argument
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c896 uint32_t exception_code,
914 if (KFD_DBG_EC_TYPE_IS_QUEUE(exception_code)) {
938 if (!(queue->properties.exception_status & KFD_EC_MASK(exception_code))) {
943 } else if (KFD_DBG_EC_TYPE_IS_DEVICE(exception_code)) {
961 if (!(pdd->exception_status & KFD_EC_MASK(exception_code))) {
966 if (exception_code == EC_DEVICE_MEMORY_VIOLATION) {
981 } else if (KFD_DBG_EC_TYPE_IS_PROCESS(exception_code)) {
983 if (!(target->exception_status & KFD_EC_MASK(exception_code))) {
988 if (exception_code == EC_PROCESS_RUNTIME) {
1001 pr_debug("Bad exception type [%i]\n", exception_code);
894 kfd_dbg_trap_query_exception_info(struct kfd_process *target, uint32_t source_id, uint32_t exception_code, bool clear_exception, void __user *info, uint32_t *info_size) argument
[all...]
H A Dkfd_debug.h68 uint32_t exception_code,
H A Dkfd_chardev.c3063 args->query_exception_info.exception_code,
/linux-master/include/uapi/linux/
H A Dkfd_ioctl.h1336 * @exception_code (IN) - target exception
1337 * @clear_exception (IN) - clear raised @exception_code exception
1342 * If @exception_code is EC_DEVICE_MEMORY_VIOLATION, copy @info_size(OUT)
1344 * If @exception_code is EC_PROCESS_RUNTIME, copy saved
1352 __u32 exception_code; member in struct:kfd_ioctl_dbg_trap_query_exception_info_args

Completed in 142 milliseconds