[SWDEV-527092] - Process Start/Stop event addition (#368)
- Added more events to `amdsmi_evt_notification_type_t` Change-Id: I6a256fe828e4bec3197c7fecbed374ab17c6f850 Signed-off-by: Adam Pryor <Adam.Pryor@amd.com>
This commit is contained in:
committed by
GitHub
orang tua
bacbaac0b1
melakukan
8713305f80
@@ -1239,9 +1239,17 @@ typedef enum {
|
||||
AMDSMI_EVT_NOTIF_THERMAL_THROTTLE = 2,
|
||||
AMDSMI_EVT_NOTIF_GPU_PRE_RESET = 3,
|
||||
AMDSMI_EVT_NOTIF_GPU_POST_RESET = 4,
|
||||
AMDSMI_EVT_NOTIF_RING_HANG = 5,
|
||||
AMDSMI_EVT_NOTIF_EVENT_MIGRATE_START = 5,
|
||||
AMDSMI_EVT_NOTIF_EVENT_MIGRATE_END = 6,
|
||||
AMDSMI_EVT_NOTIF_EVENT_PAGE_FAULT_START = 7,
|
||||
AMDSMI_EVT_NOTIF_EVENT_PAGE_FAULT_END = 8,
|
||||
AMDSMI_EVT_NOTIF_EVENT_QUEUE_EVICTION = 9,
|
||||
AMDSMI_EVT_NOTIF_EVENT_QUEUE_RESTORE = 10,
|
||||
AMDSMI_EVT_NOTIF_EVENT_UNMAP_FROM_GPU = 11,
|
||||
AMDSMI_EVT_NOTIF_PROCESS_START = 12,
|
||||
AMDSMI_EVT_NOTIF_PROCESS_END = 13,
|
||||
|
||||
AMDSMI_EVT_NOTIF_LAST = AMDSMI_EVT_NOTIF_RING_HANG
|
||||
AMDSMI_EVT_NOTIF_LAST = AMDSMI_EVT_NOTIF_PROCESS_END
|
||||
} amdsmi_evt_notification_type_t;
|
||||
|
||||
/**
|
||||
@@ -1255,7 +1263,7 @@ typedef enum {
|
||||
* @brief Maximum number of characters an event notification message will be
|
||||
* matches kfd message max size
|
||||
*/
|
||||
#define MAX_EVENT_NOTIFICATION_MSG_SIZE 96
|
||||
#define MAX_EVENT_NOTIFICATION_MSG_SIZE 256
|
||||
|
||||
/**
|
||||
* @brief Event notification data returned from event notification API
|
||||
|
||||
Reference in New Issue
Block a user