Home
last modified time | relevance | path

Searched refs:new_bw_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_bw.c966 struct intel_bw_state *new_bw_state) in mtl_find_qgv_points() argument
974 ret = intel_atomic_lock_global_state(&new_bw_state->base); in mtl_find_qgv_points()
983 if (!intel_can_enable_sagv(i915, new_bw_state)) { in mtl_find_qgv_points()
984 new_bw_state->qgv_point_peakbw = U16_MAX; in mtl_find_qgv_points()
1029 new_bw_state->qgv_point_peakbw = DIV_ROUND_CLOSEST(qgv_peak_bw, 100); in mtl_find_qgv_points()
1038 struct intel_bw_state *new_bw_state) in icl_find_qgv_points() argument
1047 ret = intel_atomic_lock_global_state(&new_bw_state->base); in icl_find_qgv_points()
1096 if (!intel_can_enable_sagv(i915, new_bw_state)) { in icl_find_qgv_points()
1106 new_bw_state->qgv_points_mask = icl_prepare_qgv_points_mask(i915, in icl_find_qgv_points()
1113 if (new_bw_state->qgv_points_mask != old_bw_state->qgv_points_mask) { in icl_find_qgv_points()
[all …]
Dintel_pmdemand.c261 const struct intel_bw_state *new_bw_state, *old_bw_state; in intel_pmdemand_needs_update() local
268 new_bw_state = intel_atomic_get_new_bw_state(state); in intel_pmdemand_needs_update()
270 if (new_bw_state && new_bw_state->qgv_point_peakbw != in intel_pmdemand_needs_update()
303 const struct intel_bw_state *new_bw_state; in intel_pmdemand_atomic_check() local
318 new_bw_state = intel_atomic_get_bw_state(state); in intel_pmdemand_atomic_check()
319 if (IS_ERR(new_bw_state)) in intel_pmdemand_atomic_check()
320 return PTR_ERR(new_bw_state); in intel_pmdemand_atomic_check()
324 new_pmdemand_state->params.qclk_gv_bw = new_bw_state->qgv_point_peakbw; in intel_pmdemand_atomic_check()
Dskl_watermark.c220 const struct intel_bw_state *new_bw_state = in skl_sagv_pre_plane_update() local
223 if (!new_bw_state) in skl_sagv_pre_plane_update()
226 if (!intel_can_enable_sagv(i915, new_bw_state)) in skl_sagv_pre_plane_update()
233 const struct intel_bw_state *new_bw_state = in skl_sagv_post_plane_update() local
236 if (!new_bw_state) in skl_sagv_post_plane_update()
239 if (intel_can_enable_sagv(i915, new_bw_state)) in skl_sagv_post_plane_update()
248 const struct intel_bw_state *new_bw_state = in icl_sagv_pre_plane_update() local
252 if (!new_bw_state) in icl_sagv_pre_plane_update()
256 new_mask = old_bw_state->qgv_points_mask | new_bw_state->qgv_points_mask; in icl_sagv_pre_plane_update()
261 WARN_ON(!new_bw_state->base.changed); in icl_sagv_pre_plane_update()
[all …]