Searched refs:slpc (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_slpc.c | 12 return container_of(slpc, struct intel_guc, slpc); in slpc_to_guc() 89 GEM_BUG_ON(slpc->vma); in intel_guc_slpc_init() 109 GEM_BUG_ON(!slpc->vma); in slpc_get_state() 112 data = slpc->vaddr; in slpc_get_state() 276 GEM_BUG_ON(!slpc->vma); in slpc_decode_min_freq() 287 GEM_BUG_ON(!slpc->vma); in slpc_decode_max_freq() 464 slpc->max_freq_softlimit = slpc->rp0_freq; in slpc_set_softlimits() 465 else if (slpc->max_freq_softlimit != slpc->rp0_freq) in slpc_set_softlimits() 473 slpc->min_freq_softlimit = slpc->min_freq; in slpc_set_softlimits() 474 else if (slpc->min_freq_softlimit != slpc->min_freq) in slpc_set_softlimits() [all …]
|
A D | intel_guc_slpc.h | 17 return guc->slpc.supported; in intel_guc_slpc_is_supported() 22 return guc->slpc.selected; in intel_guc_slpc_is_wanted() 30 void intel_guc_slpc_init_early(struct intel_guc_slpc *slpc); 32 int intel_guc_slpc_init(struct intel_guc_slpc *slpc); 33 int intel_guc_slpc_enable(struct intel_guc_slpc *slpc); 34 void intel_guc_slpc_fini(struct intel_guc_slpc *slpc); 35 int intel_guc_slpc_set_max_freq(struct intel_guc_slpc *slpc, u32 val); 36 int intel_guc_slpc_set_min_freq(struct intel_guc_slpc *slpc, u32 val); 37 int intel_guc_slpc_get_max_freq(struct intel_guc_slpc *slpc, u32 *val); 38 int intel_guc_slpc_get_min_freq(struct intel_guc_slpc *slpc, u32 *val); [all …]
|
A D | intel_guc_debugfs.c | 57 struct intel_guc_slpc *slpc = &guc->slpc; in guc_slpc_info_show() local 63 return intel_guc_slpc_print_info(slpc, &p); in guc_slpc_info_show()
|
A D | intel_guc.c | 162 intel_guc_slpc_init_early(&guc->slpc); in intel_guc_init_early() 342 ret = intel_guc_slpc_init(&guc->slpc); in intel_guc_init() 382 intel_guc_slpc_fini(&guc->slpc); in intel_guc_fini()
|
A D | intel_guc.h | 39 struct intel_guc_slpc slpc; member
|
A D | intel_uc.c | 499 ret = intel_guc_slpc_enable(&guc->slpc); in __uc_init_hw()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | selftest_slpc.c | 16 ret = intel_guc_slpc_set_min_freq(slpc, freq); in slpc_set_min_freq() 29 ret = intel_guc_slpc_set_max_freq(slpc, freq); in slpc_set_max_freq() 43 struct intel_guc_slpc *slpc = >->uc.guc.slpc; in live_slpc_clamp_min() local 87 err = slpc_set_min_freq(slpc, min_freq); in live_slpc_clamp_min() 153 slpc_set_max_freq(slpc, slpc_max_freq); in live_slpc_clamp_min() 154 slpc_set_min_freq(slpc, slpc_min_freq); in live_slpc_clamp_min() 170 struct intel_guc_slpc *slpc; in live_slpc_clamp_max() local 178 slpc = >->uc.guc.slpc; in live_slpc_clamp_max() 218 err = slpc_set_max_freq(slpc, max_freq); in live_slpc_clamp_max() 290 slpc_set_max_freq(slpc, slpc_max_freq); in live_slpc_clamp_max() [all …]
|
A D | intel_rps.c | 45 return >->uc.guc.slpc; in rps_to_slpc() 2005 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_max_frequency() local 2008 return slpc->max_freq_softlimit; in intel_rps_get_max_frequency() 2015 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rp0_frequency() local 2018 return slpc->rp0_freq; in intel_rps_get_rp0_frequency() 2025 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rp1_frequency() local 2028 return slpc->rp1_freq; in intel_rps_get_rp1_frequency() 2035 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rpn_frequency() local 2038 return slpc->min_freq; in intel_rps_get_rpn_frequency() 2083 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_set_max_frequency() local [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_live_selftests.h | 49 selftest(slpc, intel_slpc_live_selftests)
|
Completed in 17 milliseconds