Lines Matching refs:mec

446 	amdgpu_bo_free_kernel(&adev->gfx.mec.hpd_eop_obj, NULL, NULL);  in gfx_v9_4_3_mec_fini()
447 amdgpu_bo_free_kernel(&adev->gfx.mec.mec_fw_obj, NULL, NULL); in gfx_v9_4_3_mec_fini()
474 &adev->gfx.mec.hpd_eop_obj, in gfx_v9_4_3_mec_init()
475 &adev->gfx.mec.hpd_eop_gpu_addr, in gfx_v9_4_3_mec_init()
493 amdgpu_bo_kunmap(adev->gfx.mec.hpd_eop_obj); in gfx_v9_4_3_mec_init()
494 amdgpu_bo_unreserve(adev->gfx.mec.hpd_eop_obj); in gfx_v9_4_3_mec_init()
506 &adev->gfx.mec.mec_fw_obj, in gfx_v9_4_3_mec_init()
507 &adev->gfx.mec.mec_fw_gpu_addr, in gfx_v9_4_3_mec_init()
517 amdgpu_bo_kunmap(adev->gfx.mec.mec_fw_obj); in gfx_v9_4_3_mec_init()
518 amdgpu_bo_unreserve(adev->gfx.mec.mec_fw_obj); in gfx_v9_4_3_mec_init()
740 int xcc_id, int mec, int pipe, int queue) in gfx_v9_4_3_compute_ring_init() argument
752 ring->me = mec + 1; in gfx_v9_4_3_compute_ring_init()
761 ring->eop_gpu_addr = adev->gfx.mec.hpd_eop_gpu_addr + in gfx_v9_4_3_compute_ring_init()
769 + ((ring->me - 1) * adev->gfx.mec.num_pipe_per_mec) in gfx_v9_4_3_compute_ring_init()
784 adev->gfx.mec.num_mec = 2; in gfx_v9_4_3_sw_init()
785 adev->gfx.mec.num_pipe_per_mec = 4; in gfx_v9_4_3_sw_init()
786 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v9_4_3_sw_init()
824 for (i = 0; i < adev->gfx.mec.num_mec; ++i) { in gfx_v9_4_3_sw_init()
825 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v9_4_3_sw_init()
826 for (k = 0; k < adev->gfx.mec.num_pipe_per_mec; in gfx_v9_4_3_sw_init()
1421 adev->gfx.mec.mec_fw_gpu_addr & 0xFFFFF000); in gfx_v9_4_3_xcc_cp_compute_load_microcode()
1423 upper_32_bits(adev->gfx.mec.mec_fw_gpu_addr)); in gfx_v9_4_3_xcc_cp_compute_load_microcode()
1809 tmp_mqd = (struct v9_mqd *)adev->gfx.mec.mqd_backup[mqd_idx]; in gfx_v9_4_3_xcc_kcq_init_queue()
1822 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_4_3_xcc_kcq_init_queue()
1823 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(struct v9_mqd_allocation)); in gfx_v9_4_3_xcc_kcq_init_queue()
1826 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_4_3_xcc_kcq_init_queue()
1827 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(struct v9_mqd_allocation)); in gfx_v9_4_3_xcc_kcq_init_queue()
3011 for (i = 0; i < adev->gfx.mec.num_pipe_per_mec; i++) { in gfx_v9_4_3_emit_wave_limit()