Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dselftest_llc.c16 unsigned int gpu_freq; in gen6_verify_ring_freq() local
24 for (gpu_freq = consts.min_gpu_freq; in gen6_verify_ring_freq()
25 gpu_freq <= consts.max_gpu_freq; in gen6_verify_ring_freq()
26 gpu_freq++) { in gen6_verify_ring_freq()
32 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq()
34 val = gpu_freq; in gen6_verify_ring_freq()
39 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq()
47 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
48 intel_gpu_freq(rps, gpu_freq * (INTEL_GEN(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq()
57 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
[all …]
Dintel_llc.c78 unsigned int gpu_freq, in calc_ia_freq() argument
84 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
92 ring_freq = gpu_freq; in calc_ia_freq()
95 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq()
97 ring_freq = mult_frac(gpu_freq, 5, 4); in calc_ia_freq()
112 if (gpu_freq < min_freq) in calc_ia_freq()
127 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 …]
Ddebugfs_gt_pm.c494 int gpu_freq, ia_freq; in llc_show() local
511 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in llc_show()
512 ia_freq = gpu_freq; in llc_show()
518 (gpu_freq * in llc_show()
Dselftest_rps.c499 int gpu_freq; in show_pcu_config() local
515 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in show_pcu_config()
516 int ia_freq = gpu_freq; in show_pcu_config()
523 gpu_freq * 50, in show_pcu_config()
/Linux-v5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c113 unsigned long gpu_freq; in a6xx_gmu_set_freq() local
116 gpu_freq = dev_pm_opp_get_freq(opp); in a6xx_gmu_set_freq()
118 if (gpu_freq == gmu->freq) in a6xx_gmu_set_freq()
122 if (gpu_freq == gmu->gpu_freqs[perf_index]) in a6xx_gmu_set_freq()
851 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_freq() local
853 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_freq()
865 unsigned long gpu_freq = gmu->gpu_freqs[gmu->current_perf_index]; in a6xx_gmu_set_initial_bw() local
867 gpu_opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, gpu_freq, true); in a6xx_gmu_set_initial_bw()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_debugfs.c1021 int gpu_freq, ia_freq; in i915_ring_freq_table() local
1037 for (gpu_freq = min_gpu_freq; gpu_freq <= max_gpu_freq; gpu_freq++) { in i915_ring_freq_table()
1038 ia_freq = gpu_freq; in i915_ring_freq_table()
1044 (gpu_freq * in i915_ring_freq_table()