Searched refs:wave_cnt (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v9.c | 732 int *wave_cnt, int *vmid) in get_wave_count() argument 744 *wave_cnt = 0; in get_wave_count() 750 *wave_cnt = reg_val & SPI_CSQ_WF_ACTIVE_COUNT_0__COUNT_MASK; in get_wave_count() 751 if (*wave_cnt != 0) in get_wave_count() 811 int wave_cnt; in kgd_gfx_v9_get_cu_occupancy() local 858 get_wave_count(adev, qidx, &wave_cnt, &vmid); in kgd_gfx_v9_get_cu_occupancy() 859 if (wave_cnt != 0) { in kgd_gfx_v9_get_cu_occupancy() 864 vmid_wave_cnt += wave_cnt; in kgd_gfx_v9_get_cu_occupancy()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 299 void (*get_cu_occupancy)(struct kgd_dev *kgd, int pasid, int *wave_cnt,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 268 int wave_cnt; in kfd_get_cu_occupancy() local 288 wave_cnt = 0; in kfd_get_cu_occupancy() 290 dev->kfd2kgd->get_cu_occupancy(dev->kgd, proc->pasid, &wave_cnt, in kfd_get_cu_occupancy() 294 cu_cnt = (wave_cnt + (max_waves_per_cu - 1)) / max_waves_per_cu; in kfd_get_cu_occupancy()
|