diff options
| author | Jiadong Zhu <[email protected]> | 2023-05-25 16:52:55 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 12:44:15 -0400 |
| commit | 8ff865be93e642d0ad66ca7369f42fbe36dc6a90 (patch) | |
| tree | c6de1533439c2197223301112f6071d32add4e08 /rust/helpers/helpers.c | |
| parent | f2bcc0c7db0c004f0184675e7862648e8aa197f9 (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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions