Skip to content

Support run ticks for multi-queue use case

Umesh Nerlige Ramappa intel-xe 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 2 repliesIn review
  2. v411 patches 5 repliesSuperseded
  3. v311 patches 10 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches17 repliesSuperseded
v15 patches19 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/xe/lrc: Use 64 bit ctx timestamp in the LRC snapshotdrivers/gpu/drm/xe/xe_lrc.c drivers/gpu/drm/xe/xe_lrc.h+3 -30 replies
2/11drm/xe: Add timestamp_ms to LRC snapshotdrivers/gpu/drm/xe/xe_lrc.c drivers/gpu/drm/xe/xe_lrc.h+5 -00 replies
3/11drm/xe/lrc: Refactor xe_lrc_timestamp to simplify logicdrivers/gpu/drm/xe/xe_lrc.c+15 -200 replies
4/11drm/xe/multi_queue: Refactor check for multi queue support for engine classdrivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_gt.h+16 -60 replies
5/11drm/xe/multi_queue: Store primary LRC and position info in LRCdrivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_lrc.h drivers/gpu/drm/xe/xe_lrc_types.h+19 -10 replies
6/11drm/xe/multi_queue: Add helpers to access CS QUEUE TIMESTAMP from lrcdrivers/gpu/drm/xe/regs/xe_lrc_layout.h drivers/gpu/drm/xe/xe_lrc.c drivers/gpu/drm/xe/xe_lrc.h +1 more+65 -00 replies
7/11drm/xe/lrc: Refactor out engine id to hwe conversiondrivers/gpu/drm/xe/xe_lrc.c+15 -50 replies
8/11drm/xe/multi_queue: Capture queue run times for active queuesdrivers/gpu/drm/xe/regs/xe_engine_regs.h drivers/gpu/drm/xe/xe_lrc.c+98 -200 replies
9/11drm/xe/multi_queue: Add trace event for the multi queue timestampdrivers/gpu/drm/xe/xe_lrc.c drivers/gpu/drm/xe/xe_trace_lrc.h+29 -00 replies
10/11drm/xe/multi_queue: Use QUEUE_TIMESTAMP as job timestamp for multi-queuedrivers/gpu/drm/xe/xe_ring_ops.c+6 -21 reply
11/11drm/xe/multi_queue: Whitelist QUEUE_TIMESTAMP registerdrivers/gpu/drm/xe/xe_reg_whitelist.c+14 -00 replies

Reviews trailers per patch

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

PatchNiranjana Vishwanathapura
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v5 thread

Cover letter [PATCH v5 00/11] Support run ticks for multi-queue use case

In single queue use cases, the CTX TIMESTAMP can be used to track context run ticks. In multi-queue scenarios the CTX_TIMESTAMP represents run ticks of all the queues. To determine individual queue run ticks, we need to use QUEUE TIMESTAMP.

The series adds support to read out QUEUE TIMESTAMP for multi-queue use cases.

v2: Include review comments from Matt, Stuart, Niranjana
v3: Include review comments from Niranjana
v4: Include review comments from Niranjana
v5: Include review comments from Niranjana and checkpatch fix

Matthew Brost (1):
drm/xe: Add timestamp_ms to LRC snapshot

Umesh Nerlige Ramappa (10):
drm/xe/lrc: Use 64 bit ctx timestamp in the LRC snapshot drm/xe/lrc: Refactor xe_lrc_timestamp to simplify logic drm/xe/multi_queue: Refactor check for multi queue support for engine
class
drm/xe/multi_queue: Store primary LRC and position info in LRC drm/xe/multi_queue: Add helpers to access CS QUEUE TIMESTAMP from lrc drm/xe/lrc: Refactor out engine id to hwe conversion drm/xe/multi_queue: Capture queue run times for active queues drm/xe/multi_queue: Add trace event for the multi queue timestamp drm/xe/multi_queue: Use QUEUE_TIMESTAMP as job timestamp for
multi-queue
drm/xe/multi_queue: Whitelist QUEUE_TIMESTAMP register

 drivers/gpu/drm/xe/regs/xe_engine_regs.h |   4 +
 drivers/gpu/drm/xe/regs/xe_lrc_layout.h  |   3 +
 drivers/gpu/drm/xe/xe_exec_queue.c       |  14 +-
 drivers/gpu/drm/xe/xe_gt.h               |  15 ++
 drivers/gpu/drm/xe/xe_lrc.c              | 236 ++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_lrc.h              |  10 +-
 drivers/gpu/drm/xe/xe_lrc_types.h        |  11 ++
 drivers/gpu/drm/xe/xe_reg_whitelist.c    |  14 ++
 drivers/gpu/drm/xe/xe_ring_ops.c         |   8 +-
 drivers/gpu/drm/xe/xe_trace_lrc.h        |  27 +++
 10 files changed, 285 insertions(+), 57 deletions(-)
Signature · 1 line
2.51.0