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-09 12:44:15 -0400 |
commit | 8ff865be93e642d0ad66ca7369f42fbe36dc6a90 (patch) | |
tree | c6de1533439c2197223301112f6071d32add4e08 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | |
parent | f2bcc0c7db0c004f0184675e7862648e8aa197f9 (diff) | |
download | linux-8ff865be93e642d0ad66ca7369f42fbe36dc6a90.tar.gz linux-8ff865be93e642d0ad66ca7369f42fbe36dc6a90.tar.bz2 linux-8ff865be93e642d0ad66ca7369f42fbe36dc6a90.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h')
0 files changed, 0 insertions, 0 deletions