AMDSMI - Add ring hang event

Change-Id: I84696e3cc1a4eba8de48e464f1a208ed9c6e489d
Depends-On: I2e73ba08ee0004f6f30660b2fa425ea94bafceca
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2024-05-02 02:39:20 -05:00
parent 61a75d346b
commit 5525bf8c86
4 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -301,8 +301,9 @@ typedef enum {
//!< due to temperature rise
RDC_EVNT_NOTIF_PRE_RESET, //!< GPU reset is about to occur
RDC_EVNT_NOTIF_POST_RESET, //!< GPU reset just occurred
RDC_EVNT_NOTIF_RING_HANG, //!< GPU ring hang just occurred
RDC_EVNT_NOTIF_LAST = RDC_EVNT_NOTIF_POST_RESET,
RDC_EVNT_NOTIF_LAST = RDC_EVNT_NOTIF_RING_HANG,
} rdc_field_t;
#define RDC_EVNT_IS_NOTIF_FIELD(FIELD) \
((FIELD) >= RDC_EVNT_NOTIF_FIRST && (FIELD) <= RDC_EVNT_NOTIF_LAST)