Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c10 static inline struct intel_guc *slpc_to_guc(struct intel_guc_slpc *slpc) in slpc_to_guc() argument
12 return container_of(slpc, struct intel_guc, slpc); in slpc_to_guc()
15 static inline struct intel_gt *slpc_to_gt(struct intel_guc_slpc *slpc) in slpc_to_gt() argument
17 return guc_to_gt(slpc_to_guc(slpc)); in slpc_to_gt()
20 static inline struct drm_i915_private *slpc_to_i915(struct intel_guc_slpc *slpc) in slpc_to_i915() argument
22 return slpc_to_gt(slpc)->i915; in slpc_to_i915()
40 void intel_guc_slpc_init_early(struct intel_guc_slpc *slpc) in intel_guc_slpc_init_early() argument
42 struct intel_guc *guc = slpc_to_guc(slpc); in intel_guc_slpc_init_early()
44 slpc->supported = __detect_slpc_supported(guc); in intel_guc_slpc_init_early()
45 slpc->selected = __guc_slpc_selected(guc); in intel_guc_slpc_init_early()
[all …]
Dintel_guc_slpc.h17 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 …]
Dintel_guc_debugfs.c57 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()
Dintel_guc.c161 intel_guc_slpc_init_early(&guc->slpc); in intel_guc_init_early()
341 ret = intel_guc_slpc_init(&guc->slpc); in intel_guc_init()
381 intel_guc_slpc_fini(&guc->slpc); in intel_guc_fini()
Dintel_guc.h34 struct intel_guc_slpc slpc; member
Dintel_uc.c499 ret = intel_guc_slpc_enable(&guc->slpc); in __uc_init_hw()
/drivers/gpu/drm/i915/gt/
Dselftest_slpc.c12 static int slpc_set_min_freq(struct intel_guc_slpc *slpc, u32 freq) in slpc_set_min_freq() argument
16 ret = intel_guc_slpc_set_min_freq(slpc, freq); in slpc_set_min_freq()
25 static int slpc_set_max_freq(struct intel_guc_slpc *slpc, u32 freq) in slpc_set_max_freq() argument
29 ret = intel_guc_slpc_set_max_freq(slpc, freq); in slpc_set_max_freq()
43 struct intel_guc_slpc *slpc = &gt->uc.guc.slpc; in live_slpc_clamp_min() local
57 if (intel_guc_slpc_get_max_freq(slpc, &slpc_max_freq)) { in live_slpc_clamp_min()
62 if (intel_guc_slpc_get_min_freq(slpc, &slpc_min_freq)) { in live_slpc_clamp_min()
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()
[all …]
Dintel_rps.c44 return &gt->uc.guc.slpc; in rps_to_slpc()
2008 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_max_frequency() local
2011 return slpc->max_freq_softlimit; in intel_rps_get_max_frequency()
2018 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rp0_frequency() local
2021 return slpc->rp0_freq; in intel_rps_get_rp0_frequency()
2028 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rp1_frequency() local
2031 return slpc->rp1_freq; in intel_rps_get_rp1_frequency()
2038 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_get_rpn_frequency() local
2041 return slpc->min_freq; in intel_rps_get_rpn_frequency()
2086 struct intel_guc_slpc *slpc = rps_to_slpc(rps); in intel_rps_set_max_frequency() local
[all …]
/drivers/gpu/drm/i915/selftests/
Di915_live_selftests.h49 selftest(slpc, intel_slpc_live_selftests)