Searched refs:busy_cycles (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_gpu_devfreq.c | 82 u64 busy_cycles, busy_time; in msm_devfreq_get_dev_status() local 99 busy_cycles = gpu->funcs->gpu_busy(gpu, &sample_rate); in msm_devfreq_get_dev_status() 100 busy_time = busy_cycles - df->busy_cycles; in msm_devfreq_get_dev_status() 101 df->busy_cycles = busy_cycles; in msm_devfreq_get_dev_status() 231 df->busy_cycles = gpu->funcs->gpu_busy(gpu, &sample_rate); in msm_devfreq_resume()
|
H A D | msm_gpu.h | 113 /** lock: lock for "suspended", "busy_cycles", and "time" */ 136 * busy_cycles: Last busy counter value, for calculating elapsed busy 139 u64 busy_cycles; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu.c | 1190 u64 busy_cycles, busy_time; in a6xx_gpu_busy() local 1197 busy_cycles = gmu_read64(&a6xx_gpu->gmu, in a6xx_gpu_busy() 1201 busy_time = (busy_cycles - gpu->devfreq.busy_cycles) * 10; in a6xx_gpu_busy() 1204 gpu->devfreq.busy_cycles = busy_cycles; in a6xx_gpu_busy()
|
H A D | a5xx_gpu.c | 1474 u64 busy_cycles, busy_time; in a5xx_gpu_busy() local 1480 busy_cycles = gpu_read64(gpu, REG_A5XX_RBBM_PERFCTR_RBBM_0_LO, in a5xx_gpu_busy() 1483 busy_time = busy_cycles - gpu->devfreq.busy_cycles; in a5xx_gpu_busy() 1486 gpu->devfreq.busy_cycles = busy_cycles; in a5xx_gpu_busy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/ |
H A D | a3xx_gpu.c | 482 u64 busy_cycles; in a3xx_gpu_busy() local 484 busy_cycles = gpu_read64(gpu, REG_A3XX_RBBM_PERFCTR_RBBM_1_LO); in a3xx_gpu_busy() 487 return busy_cycles; in a3xx_gpu_busy()
|
H A D | a4xx_gpu.c | 616 u64 busy_cycles; in a4xx_gpu_busy() local 618 busy_cycles = gpu_read64(gpu, REG_A4XX_RBBM_PERFCTR_RBBM_1_LO); in a4xx_gpu_busy() 621 return busy_cycles; in a4xx_gpu_busy()
|
H A D | a6xx_gpu.c | 2103 u64 busy_cycles; in a6xx_gpu_busy() local 2108 busy_cycles = gmu_read64(&a6xx_gpu->gmu, in a6xx_gpu_busy() 2112 return busy_cycles; in a6xx_gpu_busy()
|
H A D | a5xx_gpu.c | 1663 u64 busy_cycles; in a5xx_gpu_busy() local 1665 busy_cycles = gpu_read64(gpu, REG_A5XX_RBBM_PERFCTR_RBBM_0_LO); in a5xx_gpu_busy() 1668 return busy_cycles; in a5xx_gpu_busy()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_gpu.h | 143 u64 busy_cycles; member
|
H A D | msm_gpu.c | 194 gpu->devfreq.busy_cycles = 0; in msm_gpu_resume_devfreq()
|
Completed in 14 milliseconds