diff options
author | Jiadong Zhu <Jiadong.Zhu@amd.com> | 2023-05-25 10:52:55 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 18:44:15 +0200 |
commit | 8ff865be93e642d0ad66ca7369f42fbe36dc6a90 (patch) | |
tree | c6de1533439c2197223301112f6071d32add4e08 /drivers/gpu/drm/drm_aperture.c | |
parent | drm/amdgpu/mmsch: Correct the definition for mmsch init header (diff) | |
download | linux-8ff865be93e642d0ad66ca7369f42fbe36dc6a90.tar.xz 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/drm_aperture.c')
0 files changed, 0 insertions, 0 deletions