Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_perf.c80 uint32_t activetime = 0, totaltime = 0; in refill_buf() local
90 ret = msm_gpu_perfcntr_sample(gpu, &activetime, &totaltime, in refill_buf()
95 val = totaltime ? 1000 * activetime / totaltime : 0; in refill_buf()
Dmsm_gpu.c615 gpu->activetime += elapsed; in update_sw_cntrs()
634 gpu->activetime = gpu->totaltime = 0; in msm_gpu_perfcntr_start()
647 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, in msm_gpu_perfcntr_sample() argument
660 *activetime = gpu->activetime; in msm_gpu_perfcntr_sample()
663 gpu->activetime = gpu->totaltime = 0; in msm_gpu_perfcntr_sample()
Dmsm_gpu.h89 uint32_t totaltime, activetime; /* sw counters */ member
294 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime,