Home
last modified time | relevance | path

Searched refs:rp0_freq (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dselftest_slpc.c119 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()
157 for (min_freq = slpc->min_freq; min_freq < slpc->rp0_freq; in vary_min_freq()
206 max.freq = slpc->rp0_freq; in slpc_power()
229 slpc_set_max_freq(slpc, slpc->rp0_freq); in slpc_power()
241 err = slpc_set_min_freq(slpc, slpc->rp0_freq); in max_granted_freq()
246 if (*max_act_freq != slpc->rp0_freq) { in max_granted_freq()
277 if (slpc->min_freq == slpc->rp0_freq) { in run_test()
Dintel_rps_types.h50 u8 rp0_freq; member
94 u8 rp0_freq; /* Non-overclocked max frequency. */ member
Dintel_rps.c756 else if (val >= rps->rp0_freq && in gen6_rps_set_thresholds()
762 if (val < (rps->rp1_freq + rps->rp0_freq) >> 1 && in gen6_rps_set_thresholds()
1112 caps->rp0_freq = REG_FIELD_GET(MTL_RP0_CAP_MASK, rp_state_cap); in mtl_get_freq_caps()
1127 caps->rp0_freq = (rp_state_cap >> 16) & 0xff; in __gen6_rps_get_freq_caps()
1131 caps->rp0_freq = (rp_state_cap >> 0) & 0xff; in __gen6_rps_get_freq_caps()
1147 caps->rp0_freq *= GEN9_FREQ_SCALER; in __gen6_rps_get_freq_caps()
1177 rps->rp0_freq = caps.rp0_freq; in gen6_rps_init()
1182 rps->max_freq = rps->rp0_freq; in gen6_rps_init()
1697 rps->rp0_freq = rps->max_freq; in vlv_rps_init()
1731 rps->rp0_freq = rps->max_freq; in chv_rps_init()
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_pc.c291 if (freq < pc->rpn_freq || freq > pc->rp0_freq) in pc_set_min_freq()
323 if (freq < pc->rpn_freq || freq > pc->rp0_freq) in pc_set_max_freq()
445 return pc->rp0_freq; in xe_guc_pc_get_rp0_freq()
672 pc->rp0_freq = decode_freq(REG_FIELD_GET(MTL_RP0_CAP_MASK, reg)); in mtl_init_fused_rp_values()
689 pc->rp0_freq = REG_FIELD_GET(RP0_MASK, reg) * GT_FREQUENCY_MULTIPLIER; in tgl_init_fused_rp_values()
710 return min(LNL_MERT_FREQ_CAP, pc->rp0_freq); in pc_max_freq_cap()
712 return min(BMG_MERT_FREQ_CAP, pc->rp0_freq); in pc_max_freq_cap()
714 return pc->rp0_freq; in pc_max_freq_cap()
758 if (pc_get_max_freq(pc) > pc->rp0_freq) { in pc_adjust_freq_bounds()
759 ret = pc_set_max_freq(pc, pc->rp0_freq); in pc_adjust_freq_bounds()
[all …]
Dxe_guc_pc_types.h19 u32 rp0_freq; member
Dxe_gt_freq.c102 static DEVICE_ATTR_RO(rp0_freq);
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c394 val > slpc->rp0_freq || in intel_guc_slpc_set_max_freq()
488 val > slpc->rp0_freq || in intel_guc_slpc_set_min_freq()
595 slpc->max_freq_softlimit = slpc->rp0_freq; in slpc_set_softlimits()
597 } else if (slpc->max_freq_softlimit != slpc->rp0_freq) { in slpc_set_softlimits()
642 slpc->min_freq_softlimit = slpc->rp0_freq; in update_server_min_softlimit()
652 slpc->rp0_freq); in slpc_use_fused_rp0()
661 slpc->rp0_freq = intel_gpu_freq(rps, caps.rp0_freq); in slpc_get_rp_values()
666 slpc->boost_freq = slpc->rp0_freq; in slpc_get_rp_values()
738 if (val < slpc->min_freq || val > slpc->rp0_freq) in intel_guc_slpc_set_boost_freq()
Dintel_guc_slpc_types.h27 u32 rp0_freq; member