]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Add LRC ctx timestamp support functions
authorMatthew Brost <matthew.brost@intel.com>
Tue, 11 Jun 2024 14:40:43 +0000 (07:40 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 13 Jun 2024 02:10:18 +0000 (19:10 -0700)
commit8b9544e07d802bf5376921500c4d19c3405d3ad6
tree98a4f839a5422a13e98a9b5eae0fceb29dfab72b
parente54700f7d6aa2ae0d0a0aeeebedcecd7ce1123fe
drm/xe: Add LRC ctx timestamp support functions

LRC ctx timestamp support functions are used to determine how long a job
has run on the hardware.

v2:
 - Don't use static inlines (Jani)
 - Kernel doc
 - s/ctx_timestamp_job/ctx_job_timestamp
v6:
 - Add kernel doc for xe_lrc_update_timestamp (Lucas)
 - Call xe_lrc_ctx_timestamp() in xe_lrc_update_timestamp (Lucas)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240611144053.2805091-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_lrc.c
drivers/gpu/drm/xe/xe_lrc.h