Skip to content

Port CPU-GPU timestamp correlation to XE KMD

Umesh Nerlige Ramappa intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v24 patches 13 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Fix array bounds check for queriesdrivers/gpu/drm/xe/xe_query.c+1 -10 replies
2/3drm/xe: Set the correct type for xe_to_user_engine_classdrivers/gpu/drm/xe/xe_query.c+1 -10 replies
3/3drm/xe: Correlate engine and cpu timestamps with better accuracydrivers/gpu/drm/xe/xe_query.c include/uapi/drm/xe_drm.h+222 -250 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNiranjana VishwanathapuraJosé Roberto de Souza
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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

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(-)
Signature · 1 line
2.38.1