diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2026-09-25 13:15:22 -0700 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-09-25 17:18:10 -0700 |
| commit | 6ec0b87160be50639fffa8d26fc2d7e00ae61ed9 (patch) | |
| tree | 8ad4f396fe6a8e421ba0dd4fde2e4273c709608d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8ab0d5ca31caca5ed90621fa4af6cb26d8ea8378 (diff) | |
| download | linux-6ec0b87160be50639fffa8d26fc2d7e00ae61ed9.tar.gz linux-6ec0b87160be50639fffa8d26fc2d7e00ae61ed9.zip | |
drm/xe: Add ULLS migration job support to ring ops
Add preamble and postamble for ULLS migrations jobs. Preamble clears
current semaphore for reuse. Postamble waits on next semaphore which is
set upon next job submission, then advances the ring tail over that job
with an LRI to RING_TAIL, so submitting it costs the CPU nothing beyond
signalling the semaphore.
A job updates the tail on behalf of a successor which has not been
emitted yet, so it cannot know how much ring that successor will occupy.
Pad every ULLS job out to a fixed ULLS_JOB_SIZE_BYTES, which makes the
next tail derivable from where the current job starts. The pad also
supplies the NOPs which must follow an in-ring tail update.
The last ULLS migration job skips BB submission, the postamble and the
tail update (clear current semaphore, write seqno, exit ULLS), padding
the difference so that it still fills a job slot.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/20260925201526.1355279-21-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
