Lines Matching refs:mec
41 static void lock_srbm(struct amdgpu_device *adev, uint32_t mec, uint32_t pipe, in lock_srbm() argument
45 soc21_grbm_select(adev, mec, pipe, queue, vmid); in lock_srbm()
57 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue() local
58 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
60 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
66 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
106 uint32_t mec; in init_interrupts_v11() local
109 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in init_interrupts_v11()
110 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in init_interrupts_v11()
112 lock_srbm(adev, mec, pipe, 0, 0); in init_interrupts_v11()
178 uint32_t value, mec, pipe; in hqd_load_v11() local
180 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in hqd_load_v11()
181 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in hqd_load_v11()
184 mec, pipe, queue_id); in hqd_load_v11()
187 ((mec << 5) | (pipe << 3) | queue_id | 0x80)); in hqd_load_v11()
265 uint32_t mec, pipe; in hiq_mqd_load_v11() local
272 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in hiq_mqd_load_v11()
273 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in hiq_mqd_load_v11()
276 mec, pipe, queue_id); in hiq_mqd_load_v11()
291 PACKET3_MAP_QUEUES_ME((mec - 1)) | in hiq_mqd_load_v11()