summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_events.h
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2023-05-17 23:22:47 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-15 18:37:55 +0300
commit4057e6ce3384e079f945a7f69797fc6c2864a90f (patch)
tree90b9e07b0d59a9f40716a87ade93ab423424aa95 /drivers/gpu/drm/amd/amdkfd/kfd_events.h
parent6f582513ad15de729ee5c91dfef946f3c266a207 (diff)
downloadlinux-4057e6ce3384e079f945a7f69797fc6c2864a90f.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_events.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.h b/drivers/gpu/drm/amd/amdkfd/kfd_events.h
index 1c62c8dd6460..52ccfd397c2b 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_events.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.h
@@ -53,6 +53,7 @@ struct signal_page;
struct kfd_event {
u32 event_id;
+ u64 event_age;
bool signaled;
bool auto_reset;