Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
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()
58 *queue = bit % adev->gfx.mec.num_queue_per_pipe; in amdgpu_queue_mask_bit_to_mec_queue()
59 *pipe = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_queue_mask_bit_to_mec_queue()
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()
89 *queue = bit % adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_bit_to_me_queue()
90 *pipe = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue()
92 *me = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue()
[all …]
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()
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()
Damdgpu_gfx.h113 u32 num_queue_per_pipe; member
340 uint32_t num_queue_per_pipe; member
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()
Damdgpu_amdkfd_gfx_v10_3.c69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
Damdgpu_amdkfd_gfx_v11.c67 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
Damdgpu_amdkfd_gfx_v10.c69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
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()
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()
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()
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()
Dgfx_v9_0.c2022 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v9_0_sw_init()
2131 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v9_0_sw_init()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h123 uint32_t num_queue_per_pipe; member
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
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()