Commit b1c87b08 authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher

drm/amdkfd: use unmap all queues for poison consumption

Replace reset queue for specific PASID with unmap all queues, reset
queue could break CP scheduler.
Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 03e5b167
...@@ -109,8 +109,7 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev, ...@@ -109,8 +109,7 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev,
switch (source_id) { switch (source_id) {
case SOC15_INTSRC_SQ_INTERRUPT_MSG: case SOC15_INTSRC_SQ_INTERRUPT_MSG:
if (dev->dqm->ops.reset_queues) kfd_dqm_evict_pasid(dev->dqm, pasid);
ret = dev->dqm->ops.reset_queues(dev->dqm, pasid);
break; break;
case SOC15_INTSRC_SDMA_ECC: case SOC15_INTSRC_SDMA_ECC:
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment