Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c148 set_bit(i, adev->gfx.mec.queue_bitmap); in amdgpu_gfx_compute_queue_acquire()
152 set_bit(i, adev->gfx.mec.queue_bitmap); in amdgpu_gfx_compute_queue_acquire()
158 bitmap_weight(adev->gfx.mec.queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES); in amdgpu_gfx_compute_queue_acquire()
177 if (test_bit(queue_bit, adev->gfx.mec.queue_bitmap)) in amdgpu_gfx_kiq_acquire()
Damdgpu_amdkfd.c164 bitmap_complement(gpu_resources.queue_bitmap, in amdgpu_amdkfd_device_init()
165 adev->gfx.mec.queue_bitmap, in amdgpu_amdkfd_device_init()
174 gpu_resources.queue_bitmap); in amdgpu_amdkfd_device_init()
182 clear_bit(i, gpu_resources.queue_bitmap); in amdgpu_amdkfd_device_init()
Damdgpu_gfx.h90 adev->gfx.mec.queue_bitmap); in amdgpu_gfx_is_mec_queue_enabled()
Damdgpu.h763 DECLARE_BITMAP(queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES);
Dgfx_v9_0.c1041 bitmap_zero(adev->gfx.mec.queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES); in gfx_v9_0_mec_init()
2618 if (!test_bit(i, adev->gfx.mec.queue_bitmap)) in gfx_v9_0_kiq_kcq_enable()
Dgfx_v8_0.c1441 bitmap_zero(adev->gfx.mec.queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES); in gfx_v8_0_mec_init()
4612 if (!test_bit(i, adev->gfx.mec.queue_bitmap)) in gfx_v8_0_kiq_kcq_enable()
Dgfx_v7_0.c2774 bitmap_zero(adev->gfx.mec.queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES); in gfx_v7_0_mec_init()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c83 dqm->dev->shared_resources.queue_bitmap)) in is_pipe_enabled()
90 return bitmap_weight(dqm->dev->shared_resources.queue_bitmap, in get_queues_num()
888 dqm->dev->shared_resources.queue_bitmap)) in initialize_nocpsch()
1011 if (!test_bit(i, dqm->dev->shared_resources.queue_bitmap)) in set_sched_resources()
1813 dqm->dev->shared_resources.queue_bitmap)) in dqm_debugfs_hqds()
/Linux-v4.19/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h112 DECLARE_BITMAP(queue_bitmap, KGD_MAX_QUEUES);
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.h796 unsigned long queue_bitmap; member
Dbcmsysport.c2352 start = find_first_zero_bit(&priv->queue_bitmap, dev->num_tx_queues); in bcm_sysport_map_queues()
2365 set_bit(q + start, &priv->queue_bitmap); in bcm_sysport_map_queues()