Lines Matching +full:max +full:- +full:memory +full:- +full:bandwidth
1 // SPDX-License-Identifier: MIT
37 max_khz = policy->cpuinfo.max_freq; in cpu_max_MHz()
53 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in get_ia_constants()
54 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants()
59 consts->max_ia_freq = cpu_max_MHz(); in get_ia_constants()
61 consts->min_ring_freq = in get_ia_constants()
62 intel_uncore_read(llc_to_gt(llc)->uncore, DCLK) & 0xf; in get_ia_constants()
63 /* convert DDR frequency from units of 266.6MHz to bandwidth */ in get_ia_constants()
64 consts->min_ring_freq = mult_frac(consts->min_ring_freq, 8, 3); in get_ia_constants()
66 consts->min_gpu_freq = intel_rps_get_min_raw_freq(rps); in get_ia_constants()
67 consts->max_gpu_freq = intel_rps_get_max_raw_freq(rps); in get_ia_constants()
78 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in calc_ia_freq()
79 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
89 /* max(2 * GT, DDR). NB: GT is 50MHz units */ in calc_ia_freq()
90 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq()
93 ring_freq = max(consts->min_ring_freq, ring_freq); in calc_ia_freq()
101 * clock domain, so in order to boost the bandwidth in calc_ia_freq()
110 ia_freq = consts->max_ia_freq - diff * scale / 2; in calc_ia_freq()
134 * to use for memory access. We do this by specifying the IA frequency in gen6_update_ring_freq()
139 gpu_freq--) { in gen6_update_ring_freq()
143 snb_pcode_write(llc_to_gt(llc)->uncore, GEN6_PCODE_WRITE_MIN_FREQ_TABLE, in gen6_update_ring_freq()