Lines Matching full:llc
25 static struct intel_gt *llc_to_gt(struct intel_llc *llc) in llc_to_gt() argument
27 return container_of(llc, struct intel_gt, llc); in llc_to_gt()
50 static bool get_ia_constants(struct intel_llc *llc, in get_ia_constants() argument
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()
62 intel_uncore_read(llc_to_gt(llc)->uncore, DCLK) & 0xf; in get_ia_constants()
72 static void calc_ia_freq(struct intel_llc *llc, in calc_ia_freq() argument
78 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in calc_ia_freq()
118 static void gen6_update_ring_freq(struct intel_llc *llc) in gen6_update_ring_freq() argument
123 if (!get_ia_constants(llc, &consts)) in gen6_update_ring_freq()
142 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_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()
150 void intel_llc_enable(struct intel_llc *llc) in intel_llc_enable() argument
152 gen6_update_ring_freq(llc); in intel_llc_enable()
155 void intel_llc_disable(struct intel_llc *llc) in intel_llc_disable() argument