diff options
author | Jiadong Zhu <[email protected]> | 2023-05-25 16:52:55 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-06-13 16:57:44 -0400 |
commit | 87af86ae89963c227a3beb4d914f3dc7959a690e (patch) | |
tree | 97a7f043ff5c2c012617bfa600babad810bb7781 /lib/mpi/mpi-bit.c | |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 6.3.x
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions