aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2024-08-22 10:44:39 -0400
committerAlex Deucher <[email protected]>2024-09-06 17:55:05 -0400
commit101025e94b537e8b5426c73a985b26fc95c199cb (patch)
tree5b1f45d7a4225b5c929c8113dc163ea57eda6f07 /lib/crypto/mpi/mpi-sub-ui.c
parent01be2b62c0f3c66832472ed3e48e61d631094606 (diff)
drm/amdkfd: fix missed queue reset on queue destroy
If a queue is being destroyed but causes a HWS hang on removal, the KFD may issue an unnecessary gpu reset if the destroyed queue can be fixed by a queue reset. This is because the queue has been removed from the KFD's queue list prior to the preemption action on destroy so the reset call will fail to match the HQD PQ reset information against the KFD's queue record to do the actual reset. To fix this, deactivate the queue prior to preemption since it's being destroyed anyways and remove the queue from the KFD's queue list after preemption. Signed-off-by: Jonathan Kim <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions