Lines Matching full:wave
626 uint32_t xcc_id, uint32_t wave, in wave_read_ind()
630 (wave << SQ_IND_INDEX__WAVE_ID__SHIFT) | in wave_read_ind()
636 uint32_t xcc_id, uint32_t wave, in wave_read_regs() argument
641 (wave << SQ_IND_INDEX__WAVE_ID__SHIFT) | in wave_read_regs()
651 uint32_t simd, uint32_t wave, in gfx_v12_1_read_wave_data() argument
659 /* type 4 wave data */ in gfx_v12_1_read_wave_data()
661 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_STATUS); in gfx_v12_1_read_wave_data()
662 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_PC_LO); in gfx_v12_1_read_wave_data()
663 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_PC_HI); in gfx_v12_1_read_wave_data()
664 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_EXEC_LO); in gfx_v12_1_read_wave_data()
665 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_EXEC_HI); in gfx_v12_1_read_wave_data()
666 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_HW_ID1); in gfx_v12_1_read_wave_data()
667 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_HW_ID2); in gfx_v12_1_read_wave_data()
668 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_GPR_ALLOC); in gfx_v12_1_read_wave_data()
669 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_LDS_ALLOC); in gfx_v12_1_read_wave_data()
670 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_IB_STS); in gfx_v12_1_read_wave_data()
671 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_IB_STS2); in gfx_v12_1_read_wave_data()
672 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_IB_DBG1); in gfx_v12_1_read_wave_data()
673 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_M0); in gfx_v12_1_read_wave_data()
674 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_MODE); in gfx_v12_1_read_wave_data()
675 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_STATE_PRIV); in gfx_v12_1_read_wave_data()
676 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_EXCP_FLAG_PRIV); in gfx_v12_1_read_wave_data()
677 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_EXCP_FLAG_USER); in gfx_v12_1_read_wave_data()
678 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_TRAP_CTRL); in gfx_v12_1_read_wave_data()
679 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_ACTIVE); in gfx_v12_1_read_wave_data()
680 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_VALID_AND_IDLE); in gfx_v12_1_read_wave_data()
681 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_DVGPR_ALLOC_LO); in gfx_v12_1_read_wave_data()
682 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_DVGPR_ALLOC_HI); in gfx_v12_1_read_wave_data()
683 dst[(*no_fields)++] = wave_read_ind(adev, xcc_id, wave, ixSQ_WAVE_SCHED_MODE); in gfx_v12_1_read_wave_data()
688 uint32_t wave, uint32_t start, in gfx_v12_1_read_wave_sgprs() argument
693 wave_read_regs(adev, xcc_id, wave, 0, in gfx_v12_1_read_wave_sgprs()
700 uint32_t wave, uint32_t thread, in gfx_v12_1_read_wave_vgprs() argument
704 wave_read_regs(adev, xcc_id, wave, thread, in gfx_v12_1_read_wave_vgprs()
3360 /* Currently, there is a high possibility to get wave ID mismatch in gfx_v12_1_ring_emit_ib_compute()
3362 * different wave IDs than the GDS expects. This situation happens in gfx_v12_1_ring_emit_ib_compute()
3364 * The wave IDs generated by ME are also wrong after suspend/resume. in gfx_v12_1_ring_emit_ib_compute()
3367 * Writing GDS_COMPUTE_MAX_WAVE_ID resets wave ID counters in ME and in gfx_v12_1_ring_emit_ib_compute()