Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_llc.c14 unsigned int gpu_freq; in gen6_verify_ring_freq() local
22 for (gpu_freq = consts.min_gpu_freq; in gen6_verify_ring_freq()
23 gpu_freq <= consts.max_gpu_freq; in gen6_verify_ring_freq()
24 gpu_freq++) { in gen6_verify_ring_freq()
30 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq()
32 val = gpu_freq; in gen6_verify_ring_freq()
36 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq()
44 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
45 intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq()
54 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
[all …]
H A Dintel_llc.c73 unsigned int gpu_freq, in calc_ia_freq() argument
79 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
87 ring_freq = gpu_freq; in calc_ia_freq()
90 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq()
92 ring_freq = mult_frac(gpu_freq, 5, 4); in calc_ia_freq()
107 if (gpu_freq < min_freq) in calc_ia_freq()
121 unsigned int gpu_freq; in gen6_update_ring_freq() local
137 for (gpu_freq = consts.max_gpu_freq; in gen6_update_ring_freq()
138 gpu_freq >= consts.min_gpu_freq; in gen6_update_ring_freq()
139 gpu_freq--) { in gen6_update_ring_freq()
[all …]
H A Dselftest_rps.c508 int gpu_freq; in show_pcu_config() local
524 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in show_pcu_config()
525 int ia_freq = gpu_freq; in show_pcu_config()
531 gpu_freq * 50, in show_pcu_config()
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.c115 unsigned long gpu_freq; in a6xx_gmu_set_freq() local
118 gpu_freq = dev_pm_opp_get_freq(opp); in a6xx_gmu_set_freq()
120 if (gpu_freq == gmu->freq) in a6xx_gmu_set_freq()
124 if (gpu_freq == gmu->gpu_freqs[perf_index]) in a6xx_gmu_set_freq()
988 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_freq() local
990 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_freq()
1002 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_bw() local
1004 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_bw()