drm/amdkfd: add event_age tracking when receiving interrupt

Add event_age tracking when receiving interrupt.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
James Zhu
2023-05-17 16:22:47 -04:00
committed by Alex Deucher
parent 6f582513ad
commit 4057e6ce33
2 changed files with 7 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ struct signal_page;
struct kfd_event {
u32 event_id;
u64 event_age;
bool signaled;
bool auto_reset;