Home
last modified time | relevance | path

Searched refs:slpc (Results 1 – 10 of 10) sorted by relevance

/openbsd/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_guc_slpc.c20 return container_of(slpc, struct intel_guc, slpc); in slpc_to_guc()
97 data = slpc->vaddr; in slpc_get_state()
257 err = slpc_force_min_freq(slpc, slpc->boost_freq); in slpc_boost_work()
601 slpc->max_freq_softlimit = slpc->rp0_freq; in slpc_set_softlimits()
603 } else if (slpc->max_freq_softlimit != slpc->rp0_freq) { in slpc_set_softlimits()
613 slpc->min_freq_softlimit = slpc->min_freq; in slpc_set_softlimits()
648 slpc->min_freq_softlimit = slpc->rp0_freq; in update_server_min_softlimit()
672 slpc->boost_freq = slpc->rp0_freq; in slpc_get_rp_values()
784 if (val < slpc->min_freq || val > slpc->rp0_freq) in intel_guc_slpc_set_boost_freq()
817 slpc_force_min_freq(slpc, slpc->min_freq_softlimit); in intel_guc_slpc_dec_waiters()
[all …]
H A Dintel_guc_slpc.h19 return guc->slpc.supported; in intel_guc_slpc_is_supported()
24 return guc->slpc.selected; in intel_guc_slpc_is_wanted()
32 void intel_guc_slpc_init_early(struct intel_guc_slpc *slpc);
34 int intel_guc_slpc_init(struct intel_guc_slpc *slpc);
35 int intel_guc_slpc_enable(struct intel_guc_slpc *slpc);
36 void intel_guc_slpc_fini(struct intel_guc_slpc *slpc);
37 int intel_guc_slpc_set_max_freq(struct intel_guc_slpc *slpc, u32 val);
38 int intel_guc_slpc_set_min_freq(struct intel_guc_slpc *slpc, u32 val);
45 void intel_guc_slpc_boost(struct intel_guc_slpc *slpc);
46 void intel_guc_slpc_dec_waiters(struct intel_guc_slpc *slpc);
[all …]
H A Dintel_guc_debugfs.c59 struct intel_guc_slpc *slpc = &guc->slpc; in guc_slpc_info_show() local
65 return intel_guc_slpc_print_info(slpc, &p); in guc_slpc_info_show()
H A Dintel_guc.c171 intel_guc_slpc_init_early(&guc->slpc); in intel_guc_init_early()
417 ret = intel_guc_slpc_init(&guc->slpc); in intel_guc_init()
453 intel_guc_slpc_fini(&guc->slpc); in intel_guc_fini()
H A Dintel_guc.h41 struct intel_guc_slpc slpc; member
H A Dintel_uc.c550 ret = intel_guc_slpc_enable(&guc->slpc); in __uc_init_hw()
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dselftest_slpc.c56 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in slpc_set_freq() local
119 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_max_freq()
121 for (max_freq = slpc->rp0_freq; max_freq > slpc->min_freq; in vary_max_freq()
155 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_min_freq()
185 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in slpc_power() local
229 slpc_set_max_freq(slpc, slpc->rp0_freq); in slpc_power()
230 slpc_set_min_freq(slpc, slpc->min_freq); in slpc_power()
241 err = slpc_set_min_freq(slpc, slpc->rp0_freq); in max_granted_freq()
265 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in run_test() local
276 if (slpc->min_freq == slpc->rp0_freq) { in run_test()
[all …]
H A Dintel_gt_sysfs_pm.c461 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in slpc_ignore_eff_freq_show() local
463 return sysfs_emit(buff, "%u\n", slpc->ignore_eff_freq); in slpc_ignore_eff_freq_show()
471 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in slpc_ignore_eff_freq_store() local
479 err = intel_guc_slpc_set_ignore_eff_freq(slpc, val); in slpc_ignore_eff_freq_store()
592 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in media_freq_factor_show() local
601 slpc->media_ratio_mode == SLPC_MEDIA_RATIO_MODE_DYNAMIC_CONTROL) { in media_freq_factor_show()
606 mode = slpc->media_ratio_mode; in media_freq_factor_show()
623 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in media_freq_factor_store() local
639 err = intel_guc_slpc_set_media_ratio_mode(slpc, mode); in media_freq_factor_store()
641 slpc->media_ratio_mode = mode; in media_freq_factor_store()
H A Dintel_rps.c57 return &gt->uc.guc.slpc; in rps_to_slpc()
956 slpc = rps_to_slpc(rps); in intel_rps_get_boost_frequency()
958 return slpc->boost_freq; in intel_rps_get_boost_frequency()
990 slpc = rps_to_slpc(rps); in intel_rps_set_boost_frequency()
1003 slpc = rps_to_slpc(rps); in intel_rps_dec_waiters()
1023 slpc = rps_to_slpc(rps); in intel_rps_boost()
1025 if (slpc->min_freq_softlimit >= slpc->boost_freq) in intel_rps_boost()
1033 &slpc->boost_work); in intel_rps_boost()
2233 return slpc->rp0_freq;
2243 return slpc->rp1_freq;
[all …]
/openbsd/sys/dev/pci/drm/i915/
H A Di915_perf.c1727 intel_guc_slpc_unset_gucrc_mode(&gt->uc.guc.slpc)); in i915_oa_stream_destroy()
3418 ret = intel_guc_slpc_override_gucrc_mode(&gt->uc.guc.slpc, in i915_oa_stream_init()
3466 intel_guc_slpc_unset_gucrc_mode(&gt->uc.guc.slpc); in i915_oa_stream_init()