[Intel-xe] [PATCH v3 0/3] Port CPU-GPU timestamp correlation to XE KMD

Umesh Nerlige Ramappa umesh.nerlige.ramappa at intel.com
Tue Oct 3 18:09:06 UTC 2023


This is a port of prior work from i915 to support fine-grained CPU-GPU
timestamp correlation. Prior work is linked in this issue:
https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/384

Mesa and Perfetto are the consumers for this and the issue documents the
need for higher accuracy in correlation. 

v2:
- Change commit headers to fixup!
- Fix kernel-doc errors
- Include review comments

v3:
- s/rsvd/pad/ in struct drm_xe_engine_class_instance (Jose)
- Initialize pad

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>

Umesh Nerlige Ramappa (3):
  drm/xe: Fix array bounds check for queries
  drm/xe: Set the correct type for xe_to_user_engine_class
  drm/xe: Correlate engine and cpu timestamps with better accuracy

 drivers/gpu/drm/xe/xe_query.c | 147 +++++++++++++++++++++++++++++++++-
 include/uapi/drm/xe_drm.h     | 104 ++++++++++++++++++------
 2 files changed, 224 insertions(+), 27 deletions(-)

-- 
2.38.1



More information about the Intel-xe mailing list