diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2026-02-17 20:33:19 -0800 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-02-26 10:17:50 -0800 |
| commit | 3954313b39e4ce37d444c66e1fd1219a43a719c7 (patch) | |
| tree | 065c5637ccbfa72a5ac26f064d60242e71ede6ed /tools/perf/scripts/python | |
| parent | 74bbd87dcc5c102147e24058e8db97a228d6ee03 (diff) | |
drm/xe: Move LRC seqno to system memory to avoid slow dGPU reads
The LRC seqno is read by the CPU in the fence signaling path. On dGPU
that read can turn into a PCIe transaction when the seqno lives in the
main LRC BO, making the hot-path poll/peek much more expensive.
Allocate a small dedicated seqno BO in system memory and map the seqno
and start_seqno fields from there instead. The GPU still updates the
values, but CPU reads stay in cached system memory and avoid PCIe read
latency.
Update the LRC map/address helpers to accept a BO expression and use the
new lrc->seqno_bo for seqno mappings. Unpin/unmap seqno_bo during
teardown.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patch.msgid.link/20260218043319.809548-4-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
