Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/gt/
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 …]
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 …]
Dintel_gt_pm_debugfs.c422 int gpu_freq, ia_freq; in llc_show() local
439 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in llc_show()
440 ia_freq = gpu_freq; in llc_show()
445 (gpu_freq * in llc_show()
Dselftest_rps.c506 int gpu_freq; in show_pcu_config() local
522 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in show_pcu_config()
523 int ia_freq = gpu_freq; in show_pcu_config()
529 gpu_freq * 50, in show_pcu_config()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c114 unsigned long gpu_freq; in a6xx_gmu_set_freq() local
117 gpu_freq = dev_pm_opp_get_freq(opp); in a6xx_gmu_set_freq()
119 if (gpu_freq == gmu->freq) in a6xx_gmu_set_freq()
123 if (gpu_freq == gmu->gpu_freqs[perf_index]) in a6xx_gmu_set_freq()
917 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_freq() local
919 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_freq()
931 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_bw() local
933 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_bw()