Commit da3a815c authored by Alex Sierra's avatar Alex Sierra Committed by Alex Deucher

drm/amdkfd: use mask to get v9 interrupt sq data bits correctly

Interrupt sq data bits were not taken properly from contextid0 and contextid1.
Use macro KFD_CONTEXT_ID_GET_SQ_INT_DATA instead.
Signed-off-by: default avatarAlex Sierra <alex.sierra@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 06b1661e
...@@ -384,7 +384,7 @@ static void event_interrupt_wq_v9(struct kfd_node *dev, ...@@ -384,7 +384,7 @@ static void event_interrupt_wq_v9(struct kfd_node *dev,
default: default:
break; break;
} }
kfd_signal_event_interrupt(pasid, context_id0 & 0xffffff, 24); kfd_signal_event_interrupt(pasid, sq_int_data, 24);
} else if (source_id == SOC15_INTSRC_CP_BAD_OPCODE) { } else if (source_id == SOC15_INTSRC_CP_BAD_OPCODE) {
kfd_set_dbg_ev_from_interrupt(dev, pasid, kfd_set_dbg_ev_from_interrupt(dev, pasid,
KFD_DEBUG_DOORBELL_ID(context_id0), KFD_DEBUG_DOORBELL_ID(context_id0),
......
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