You need to sign in or sign up before continuing.
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
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 18 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h 9 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c 60 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h 15 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h
Loading
-
mentioned in issue drm/amd#2604
-
mentioned in issue drm/amd#2535
Please register or sign in to comment