hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/backend/gpu/mali_kbase_instr_defs.h
....@@ -1,7 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 /*
33 *
4
- * (C) COPYRIGHT 2014, 2016, 2018-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2014, 2016, 2018-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -26,7 +26,7 @@
2626 #ifndef _KBASE_INSTR_DEFS_H_
2727 #define _KBASE_INSTR_DEFS_H_
2828
29
-#include <mali_kbase_hwcnt_gpu.h>
29
+#include <hwcnt/mali_kbase_hwcnt_gpu.h>
3030
3131 /*
3232 * Instrumentation State Machine States
....@@ -38,8 +38,12 @@
3838 KBASE_INSTR_STATE_IDLE,
3939 /* Hardware is currently dumping a frame. */
4040 KBASE_INSTR_STATE_DUMPING,
41
- /* An error has occured during DUMPING (page fault). */
42
- KBASE_INSTR_STATE_FAULT
41
+ /* An error has occurred during DUMPING (page fault). */
42
+ KBASE_INSTR_STATE_FAULT,
43
+ /* An unrecoverable error has occurred, a reset is the only way to exit
44
+ * from unrecoverable error state.
45
+ */
46
+ KBASE_INSTR_STATE_UNRECOVERABLE_ERROR,
4347 };
4448
4549 /* Structure used for instrumentation and HW counters dumping */