diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-07-21 13:43:18 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-29 17:55:48 -0400 |
| commit | 90163c8f3b73aaf2241583503ba40e58247e54ec (patch) | |
| tree | 341706f6f864dc275745acce55fafea0ae23607d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3c6eba1c14ec646d142add768ebf8eb51daa8442 (diff) | |
drm/amdgpu/gfx7: Fixup emitting SWITCH_BUFFER packets
This packet is interpreted by the CE (constant engine).
The reason why this packet is emitted is basically to
make sure the CE can't start executing packets from the
next job submission until the current one is finished.
(Note that CE is not utilized by any maintained userspace
driver and is discontinued in new GPUs. It is now also
deprecated in the kernel.)
Implement the emit_switch_buffer() function instead of emitting
them duing emit_ib, emit_pipeline_sync and emit_vm_flush.
It isn't necessary to emit these in both emit_pipeline_sync()
and emit_vm_flush() because amdgpu_vm_flush() already calls
these when calling either of those functions.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
