Home
last modified time | relevance | path

Searched refs:num_queue_per_pipe (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c48 * adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_mec_queue_to_bit()
49 bit += pipe * adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_mec_queue_to_bit()
61 *mec = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_queue_mask_bit_to_mec_queue()
79 * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit()
80 bit += pipe * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit()
92 *me = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue()
212 adev->gfx.mec.num_queue_per_pipe, in amdgpu_gfx_compute_queue_acquire()
223 adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_compute_queue_acquire()
248 adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_graphics_queue_acquire()
256 adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_graphics_queue_acquire()
[all …]
H A Damdgpu_amdkfd.c153 .num_queue_per_pipe = adev->gfx.mec.num_queue_per_pipe, in amdgpu_amdkfd_device_init()
174 * adev->gfx.mec.num_queue_per_pipe; in amdgpu_amdkfd_device_init()
H A Damdgpu_amdkfd_gfx_v9.c75 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in kgd_gfx_v9_get_queue_mask()
968 pipe_idx = queue_idx / adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
969 queue_slot = queue_idx % adev->gfx.mec.num_queue_per_pipe; in get_wave_count()
1052 adev->gfx.mec.num_queue_per_pipe; in kgd_gfx_v9_get_cu_occupancy()
H A Damdgpu_gfx.h113 u32 num_queue_per_pipe; member
340 uint32_t num_queue_per_pipe; member
H A Dgfx_v11_0.c1320 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v11_0_sw_init()
1323 adev->gfx.mec.num_queue_per_pipe = 4; in gfx_v11_0_sw_init()
1329 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v11_0_sw_init()
1332 adev->gfx.mec.num_queue_per_pipe = 4; in gfx_v11_0_sw_init()
1337 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v11_0_sw_init()
1340 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v11_0_sw_init()
1403 for (j = 0; j < adev->gfx.me.num_queue_per_pipe; j++) { in gfx_v11_0_sw_init()
1420 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v11_0_sw_init()
4450 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v11_0_soft_reset()
4464 for (j = 0; j < adev->gfx.me.num_queue_per_pipe; j++) { in gfx_v11_0_soft_reset()
H A Damdgpu_amdkfd_gfx_v10_3.c69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
H A Damdgpu_amdkfd_gfx_v11.c67 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
H A Damdgpu_amdkfd_gfx_v10.c69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
H A Dgfx_v10_0.c4497 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v10_0_sw_init()
4500 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v10_0_sw_init()
4512 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v10_0_sw_init()
4515 adev->gfx.mec.num_queue_per_pipe = 4; in gfx_v10_0_sw_init()
4520 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v10_0_sw_init()
4523 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v10_0_sw_init()
4575 for (j = 0; j < adev->gfx.me.num_queue_per_pipe; j++) { in gfx_v10_0_sw_init()
4592 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v10_0_sw_init()
H A Dgfx_v7_0.c4403 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v7_0_sw_init()
4456 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v7_0_sw_init()
H A Dgfx_v9_4_3.c786 adev->gfx.mec.num_queue_per_pipe = 8; 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()
H A Dgfx_v8_0.c1925 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v8_0_sw_init()
2002 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v8_0_sw_init()
H A Dgfx_v9_0.c2026 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v9_0_sw_init()
2135 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v9_0_sw_init()
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Dkgd_kfd_interface.h123 uint32_t num_queue_per_pipe; member
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c82 + pipe) * dqm->dev->kfd->shared_resources.num_queue_per_pipe; in is_pipe_enabled()
85 for (i = 0; i < dqm->dev->kfd->shared_resources.num_queue_per_pipe; ++i) in is_pipe_enabled()
100 return dqm->dev->kfd->shared_resources.num_queue_per_pipe; in get_queues_per_pipe()
1571 mec = (i / dqm->dev->kfd->shared_resources.num_queue_per_pipe) in set_sched_resources()