diff options
author | Jiadong Zhu <Jiadong.Zhu@amd.com> | 2023-05-25 16:52:55 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-13 16:57:44 -0400 |
commit | 87af86ae89963c227a3beb4d914f3dc7959a690e (patch) | |
tree | 97a7f043ff5c2c012617bfa600babad810bb7781 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 94034b306ddde4a4a9c1a597ae7f61f04b710dc7 (diff) |
drm/amdgpu: Modify indirect buffer packages for resubmission
When the preempted IB frame resubmitted to cp, we need to modify the frame
data including:
1. set PRE_RESUME 1 in CONTEXT_CONTROL.
2. use meta data(DE and CE) read from CSA in WRITE_DATA.
Add functions to save the location the first time IBs emitted and callback
to patch the package when resubmission happens.
Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.3.x
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions