diff options
author | Jiadong Zhu <[email protected]> | 2023-07-26 15:21:48 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-07-27 15:04:19 -0400 |
commit | 8cbbd11547f61b90b33a4ef70c4614eb2e789c49 (patch) | |
tree | e128b747f8696cdb3c0722e70bf3b411b0f63c42 /scripts/gdb/linux/interrupts.py | |
parent | db996e64b293a3452cd26f5de22004f3d26f215f (diff) |
drm/amdgpu: set completion status as preempted for the resubmission
The driver's CSA buffer is shared by all the ibs. When the high priority ib
is submitted after the preempted ib, CP overrides the ib_completion_status
as completed in the csa buffer. After that the preempted ib is resubmitted,
CP would clear some locals stored for ib resume when reading the completed
status, which causes gpu hang in some cases.
Always set status as preempted for those resubmitted ib instead of reading
everything from the CSA buffer.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2535
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2717
Signed-off-by: Jiadong Zhu <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions