Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c43 * adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_mec_queue_to_bit()
44 bit += pipe * adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_mec_queue_to_bit()
53 *queue = bit % adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_bit_to_mec_queue()
54 *pipe = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_gfx_bit_to_mec_queue()
56 *mec = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_gfx_bit_to_mec_queue()
74 * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit()
75 bit += pipe * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit()
84 *queue = bit % adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_bit_to_me_queue()
85 *pipe = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue()
87 *me = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue()
[all …]
Damdgpu_gfx.h51 u32 num_queue_per_pipe; member
249 uint32_t num_queue_per_pipe; member
Damdgpu_amdkfd.c152 .num_queue_per_pipe = adev->gfx.mec.num_queue_per_pipe, in amdgpu_amdkfd_device_init()
181 * adev->gfx.mec.num_queue_per_pipe; in amdgpu_amdkfd_device_init()
Damdgpu_amdkfd_gfx_v9.c120 unsigned int bit = (pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
Dgfx_v10_0.c1315 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v10_0_sw_init()
1318 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v10_0_sw_init()
1323 adev->gfx.me.num_queue_per_pipe = 1; in gfx_v10_0_sw_init()
1326 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v10_0_sw_init()
1378 for (j = 0; j < adev->gfx.me.num_queue_per_pipe; j++) { in gfx_v10_0_sw_init()
1395 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v10_0_sw_init()
Damdgpu_amdkfd_gfx_v10.c209 unsigned int bit = (pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
Dgfx_v7_0.c4448 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v7_0_sw_init()
4501 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v7_0_sw_init()
Dgfx_v9_0.c2218 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v9_0_sw_init()
2290 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v9_0_sw_init()
Dgfx_v8_0.c1976 adev->gfx.mec.num_queue_per_pipe = 8; in gfx_v8_0_sw_init()
2054 for (j = 0; j < adev->gfx.mec.num_queue_per_pipe; j++) { in gfx_v8_0_sw_init()
/Linux-v5.4/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h123 uint32_t num_queue_per_pipe; member
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c76 + pipe * dqm->dev->shared_resources.num_queue_per_pipe; in is_pipe_enabled()
79 for (i = 0; i < dqm->dev->shared_resources.num_queue_per_pipe; ++i) in is_pipe_enabled()
94 return dqm->dev->shared_resources.num_queue_per_pipe; in get_queues_per_pipe()
980 mec = (i / dqm->dev->shared_resources.num_queue_per_pipe) in set_sched_resources()