drm/xe: Emit ctx timestamp copy in ring ops
authorMatthew Brost <matthew.brost@intel.com>
Tue, 11 Jun 2024 14:40:45 +0000 (07:40 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 13 Jun 2024 02:10:20 +0000 (19:10 -0700)
commit65921374c48f7fd8305d3b3b500857967a563c4f
tree345abfd9d32cf7b0a1d3d0217199381ab4bc1c5c
parent9f46ecbb3f1d5111c28e8205ad1526663c28aa9d
drm/xe: Emit ctx timestamp copy in ring ops

Copy ctx timestamp at beginning of every GPU job to a saved location.
Used to determine how long a job has been running on the hardware.

v2:
 - - s/ctx_timestamp_job/ctx_job_timestamp

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-4-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_ring_ops.c