Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gpu.c550 uint32_t current_cntrs[ARRAY_SIZE(gpu->last_cntrs)]; in update_hw_cntrs() local
555 current_cntrs[i] = gpu_read(gpu, gpu->perfcntrs[i].sample_reg); in update_hw_cntrs()
559 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs()
563 gpu->last_cntrs[i] = current_cntrs[i]; in update_hw_cntrs()