diff options
author | Hen Alon <halon@habana.ai> | 2023-08-09 17:29:41 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:21 +0300 |
commit | 0648c4d0806fe167fe699299573100507ae99502 (patch) | |
tree | 0919aefec63dc5b16dfd13f02728295d66820342 /include/uapi/drm | |
parent | e0f452802bdaaf45dcb24080053f2b3a9c7c464a (diff) | |
download | linux-0648c4d0806fe167fe699299573100507ae99502.tar.xz |
accel/habanalabs: add tsc clock sampling to clock sync info
Add tsc clock to clock sync info, to enable using this clock for
sampling and sync it with device time.
Signed-off-by: Hen Alon <halon@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/habanalabs_accel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/habanalabs_accel.h b/include/uapi/drm/habanalabs_accel.h index e7893b082bf8..dfe47db24ae6 100644 --- a/include/uapi/drm/habanalabs_accel.h +++ b/include/uapi/drm/habanalabs_accel.h @@ -991,6 +991,7 @@ struct hl_info_reset_count { struct hl_info_time_sync { __u64 device_time; __u64 host_time; + __u64 tsc_time; }; /** |