Skip to content

Commit a1fe9e9

Browse files
alexsierragalexdeucher
authored andcommitted
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: Alex Sierra <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 6d1b345 commit a1fe9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static void event_interrupt_wq_v9(struct kfd_node *dev,
384384
default:
385385
break;
386386
}
387-
kfd_signal_event_interrupt(pasid, context_id0 & 0xffffff, 24);
387+
kfd_signal_event_interrupt(pasid, sq_int_data, 24);
388388
} else if (source_id == SOC15_INTSRC_CP_BAD_OPCODE) {
389389
kfd_set_dbg_ev_from_interrupt(dev, pasid,
390390
KFD_DEBUG_DOORBELL_ID(context_id0),

0 commit comments

Comments
 (0)