Home
last modified time | relevance | path

Searched refs:wave_cnt (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.c732 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/
Dkgd_kfd_interface.h299 void (*get_cu_occupancy)(struct kgd_dev *kgd, int pasid, int *wave_cnt,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c268 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()