Lines Matching refs:intel_rps

32 static struct intel_gt *rps_to_gt(struct intel_rps *rps)  in rps_to_gt()
37 static struct drm_i915_private *rps_to_i915(struct intel_rps *rps) in rps_to_i915()
42 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore()
47 static struct intel_guc_slpc *rps_to_slpc(struct intel_rps *rps) in rps_to_slpc()
54 static bool rps_uses_slpc(struct intel_rps *rps) in rps_uses_slpc()
61 static u32 rps_pm_sanitize_mask(struct intel_rps *rps, u32 mask) in rps_pm_sanitize_mask()
73 struct intel_rps *rps = from_timer(rps, t, timer); in rps_timer()
150 static void rps_start_timer(struct intel_rps *rps) in rps_start_timer()
157 static void rps_stop_timer(struct intel_rps *rps) in rps_stop_timer()
164 static u32 rps_pm_mask(struct intel_rps *rps, u8 val) in rps_pm_mask()
182 static void rps_reset_ei(struct intel_rps *rps) in rps_reset_ei()
187 static void rps_enable_interrupts(struct intel_rps *rps) in rps_enable_interrupts()
206 static void gen6_rps_reset_interrupts(struct intel_rps *rps) in gen6_rps_reset_interrupts()
211 static void gen11_rps_reset_interrupts(struct intel_rps *rps) in gen11_rps_reset_interrupts()
217 static void rps_reset_interrupts(struct intel_rps *rps) in rps_reset_interrupts()
231 static void rps_disable_interrupts(struct intel_rps *rps) in rps_disable_interrupts()
270 static void gen5_rps_init(struct intel_rps *rps) in gen5_rps_init()
312 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __ips_chipset_val()
384 rps_to_uncore(container_of(ips, struct intel_rps, ips)); in __gen5_ips_update()
408 static void gen5_rps_update(struct intel_rps *rps) in gen5_rps_update()
415 static unsigned int gen5_invert_freq(struct intel_rps *rps, in gen5_invert_freq()
425 static int __gen5_rps_set(struct intel_rps *rps, u8 val) in __gen5_rps_set()
455 static int gen5_rps_set(struct intel_rps *rps, u8 val) in gen5_rps_set()
544 static bool gen5_rps_enable(struct intel_rps *rps) in gen5_rps_enable()
615 static void gen5_rps_disable(struct intel_rps *rps) in gen5_rps_disable()
643 static u32 rps_limits(struct intel_rps *rps, u8 val) in rps_limits()
668 static void rps_set_power(struct intel_rps *rps, int new_power) in rps_set_power()
735 static void gen6_rps_set_thresholds(struct intel_rps *rps, u8 val) in gen6_rps_set_thresholds()
775 void intel_rps_mark_interactive(struct intel_rps *rps, bool interactive) in intel_rps_mark_interactive()
791 static int gen6_rps_set(struct intel_rps *rps, u8 val) in gen6_rps_set()
815 static int vlv_rps_set(struct intel_rps *rps, u8 val) in vlv_rps_set()
830 static int rps_set(struct intel_rps *rps, u8 val, bool update) in rps_set()
854 void intel_rps_unpark(struct intel_rps *rps) in intel_rps_unpark()
885 void intel_rps_park(struct intel_rps *rps) in intel_rps_park()
945 u32 intel_rps_get_boost_frequency(struct intel_rps *rps) in intel_rps_get_boost_frequency()
958 static int rps_set_boost_freq(struct intel_rps *rps, u32 val) in rps_set_boost_freq()
979 int intel_rps_set_boost_frequency(struct intel_rps *rps, u32 freq) in intel_rps_set_boost_frequency()
992 void intel_rps_dec_waiters(struct intel_rps *rps) in intel_rps_dec_waiters()
1014 struct intel_rps *rps = &READ_ONCE(rq->engine)->gt->rps; in intel_rps_boost()
1048 int intel_rps_set(struct intel_rps *rps, u8 val) in intel_rps_set()
1079 static u32 intel_rps_read_state_cap(struct intel_rps *rps) in intel_rps_read_state_cap()
1095 mtl_get_freq_caps(struct intel_rps *rps, struct intel_rps_freq_caps *caps) in mtl_get_freq_caps()
1112 __gen6_rps_get_freq_caps(struct intel_rps *rps, struct intel_rps_freq_caps *caps) in __gen6_rps_get_freq_caps()
1155 void gen6_rps_get_freq_caps(struct intel_rps *rps, struct intel_rps_freq_caps *caps) in gen6_rps_get_freq_caps()
1165 static void gen6_rps_init(struct intel_rps *rps) in gen6_rps_init()
1197 static bool rps_reset(struct intel_rps *rps) in rps_reset()
1215 static bool gen9_rps_enable(struct intel_rps *rps) in gen9_rps_enable()
1232 static bool gen8_rps_enable(struct intel_rps *rps) in gen8_rps_enable()
1246 static bool gen6_rps_enable(struct intel_rps *rps) in gen6_rps_enable()
1261 static int chv_rps_max_freq(struct intel_rps *rps) in chv_rps_max_freq()
1289 static int chv_rps_rpe_freq(struct intel_rps *rps) in chv_rps_rpe_freq()
1300 static int chv_rps_guar_freq(struct intel_rps *rps) in chv_rps_guar_freq()
1310 static u32 chv_rps_min_freq(struct intel_rps *rps) in chv_rps_min_freq()
1321 static bool chv_rps_enable(struct intel_rps *rps) in chv_rps_enable()
1369 static int vlv_rps_guar_freq(struct intel_rps *rps) in vlv_rps_guar_freq()
1382 static int vlv_rps_max_freq(struct intel_rps *rps) in vlv_rps_max_freq()
1396 static int vlv_rps_rpe_freq(struct intel_rps *rps) in vlv_rps_rpe_freq()
1409 static int vlv_rps_min_freq(struct intel_rps *rps) in vlv_rps_min_freq()
1425 static bool vlv_rps_enable(struct intel_rps *rps) in vlv_rps_enable()
1473 struct intel_rps *rps = container_of(ips, typeof(*rps), ips); in __ips_gfx_val()
1509 static bool has_busy_stats(struct intel_rps *rps) in has_busy_stats()
1522 void intel_rps_enable(struct intel_rps *rps) in intel_rps_enable()
1579 static void gen6_rps_disable(struct intel_rps *rps) in gen6_rps_disable()
1584 void intel_rps_disable(struct intel_rps *rps) in intel_rps_disable()
1601 static int byt_gpu_freq(struct intel_rps *rps, int val) in byt_gpu_freq()
1610 static int byt_freq_opcode(struct intel_rps *rps, int val) in byt_freq_opcode()
1615 static int chv_gpu_freq(struct intel_rps *rps, int val) in chv_gpu_freq()
1624 static int chv_freq_opcode(struct intel_rps *rps, int val) in chv_freq_opcode()
1630 int intel_gpu_freq(struct intel_rps *rps, int val) in intel_gpu_freq()
1647 int intel_freq_opcode(struct intel_rps *rps, int val) in intel_freq_opcode()
1664 static void vlv_init_gpll_ref_freq(struct intel_rps *rps) in vlv_init_gpll_ref_freq()
1677 static void vlv_rps_init(struct intel_rps *rps) in vlv_rps_init()
1727 static void chv_rps_init(struct intel_rps *rps) in chv_rps_init()
1785 static u32 vlv_wa_c0_ei(struct intel_rps *rps, u32 pm_iir) in vlv_wa_c0_ei()
1827 struct intel_rps *rps = container_of(work, typeof(*rps), work); in rps_work()
1915 void gen11_rps_irq_handler(struct intel_rps *rps, u32 pm_iir) in gen11_rps_irq_handler()
1933 void gen6_rps_irq_handler(struct intel_rps *rps, u32 pm_iir) in gen6_rps_irq_handler()
1962 void gen5_rps_irq_handler(struct intel_rps *rps) in gen5_rps_irq_handler()
1996 void intel_rps_init_early(struct intel_rps *rps) in intel_rps_init_early()
2007 void intel_rps_init(struct intel_rps *rps) in intel_rps_init()
2069 void intel_rps_sanitize(struct intel_rps *rps) in intel_rps_sanitize()
2078 u32 intel_rps_read_rpstat_fw(struct intel_rps *rps) in intel_rps_read_rpstat_fw()
2088 u32 intel_rps_read_rpstat(struct intel_rps *rps) in intel_rps_read_rpstat()
2098 u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat) in intel_rps_get_cagf()
2121 static u32 read_cagf(struct intel_rps *rps) in read_cagf()
2148 u32 intel_rps_read_actual_frequency(struct intel_rps *rps) in intel_rps_read_actual_frequency()
2160 u32 intel_rps_read_punit_req(struct intel_rps *rps) in intel_rps_read_punit_req()
2180 u32 intel_rps_read_punit_req_frequency(struct intel_rps *rps) in intel_rps_read_punit_req_frequency()
2187 u32 intel_rps_get_requested_frequency(struct intel_rps *rps) in intel_rps_get_requested_frequency()
2195 u32 intel_rps_get_max_frequency(struct intel_rps *rps) in intel_rps_get_max_frequency()
2212 u32 intel_rps_get_max_raw_freq(struct intel_rps *rps) in intel_rps_get_max_raw_freq()
2230 u32 intel_rps_get_rp0_frequency(struct intel_rps *rps) in intel_rps_get_rp0_frequency()
2240 u32 intel_rps_get_rp1_frequency(struct intel_rps *rps) in intel_rps_get_rp1_frequency()
2250 u32 intel_rps_get_rpn_frequency(struct intel_rps *rps) in intel_rps_get_rpn_frequency()
2260 static void rps_frequency_dump(struct intel_rps *rps, struct drm_printer *p) in rps_frequency_dump()
2423 static void slpc_frequency_dump(struct intel_rps *rps, struct drm_printer *p) in slpc_frequency_dump()
2459 void gen6_rps_frequency_dump(struct intel_rps *rps, struct drm_printer *p) in gen6_rps_frequency_dump()
2467 static int set_max_freq(struct intel_rps *rps, u32 val) in set_max_freq()
2505 int intel_rps_set_max_frequency(struct intel_rps *rps, u32 val) in intel_rps_set_max_frequency()
2515 u32 intel_rps_get_min_frequency(struct intel_rps *rps) in intel_rps_get_min_frequency()
2532 u32 intel_rps_get_min_raw_freq(struct intel_rps *rps) in intel_rps_get_min_raw_freq()
2550 static int set_min_freq(struct intel_rps *rps, u32 val) in set_min_freq()
2583 int intel_rps_set_min_frequency(struct intel_rps *rps, u32 val) in intel_rps_set_min_frequency()
2593 static void intel_rps_set_manual(struct intel_rps *rps, bool enable) in intel_rps_set_manual()
2602 void intel_rps_raise_unslice(struct intel_rps *rps) in intel_rps_raise_unslice()
2627 void intel_rps_lower_unslice(struct intel_rps *rps) in intel_rps_lower_unslice()
2652 static u32 rps_read_mmio(struct intel_rps *rps, i915_reg_t reg32) in rps_read_mmio()
2664 bool rps_read_mask_mmio(struct intel_rps *rps, in rps_read_mask_mmio()
2694 void intel_rps_driver_register(struct intel_rps *rps) in intel_rps_driver_register()
2709 void intel_rps_driver_unregister(struct intel_rps *rps) in intel_rps_driver_unregister()
2767 struct intel_rps *rps; in i915_gpu_raise()
2794 struct intel_rps *rps; in i915_gpu_lower()
2842 struct intel_rps *rps; in i915_gpu_turbo_disable()