Home
last modified time | relevance | path

Searched refs:p_state_change_support (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/
H A Ddcn201_clk_mgr.c78 clk_mgr->clks.p_state_change_support = true; in dcn201_init_clocks()
95 bool p_state_change_support; in dcn201_update_clocks() local
134 p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn201_update_clocks()
135 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn201_update_clocks()
136 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn201_update_clocks()
137 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn201_update_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
H A Ddcn30_clk_mgr.c114 clk_mgr_base->clks.p_state_change_support = true; in dcn3_init_clocks()
208 bool p_state_change_support; in dcn3_update_clocks() local
248 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn3_update_clocks()
249 p_state_change_support = new_clocks->p_state_change_support; in dcn3_update_clocks()
252 if (dc->clk_mgr->dc_mode_softmax_enabled && safe_to_lower && !p_state_change_support) { in dcn3_update_clocks()
258 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn3_update_clocks()
260 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn3_update_clocks()
263 if (!clk_mgr_base->clks.p_state_change_support) { in dcn3_update_clocks()
281 if (clk_mgr_base->clks.p_state_change_support && in dcn3_update_clocks()
363 if (clk_mgr_base->clks.p_state_change_support) in dcn3_set_hard_min_memclk()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c231 bool p_state_change_support; in dcn2_update_clocks() local
282 p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn2_update_clocks()
283 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn2_update_clocks()
284 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn2_update_clocks()
285 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn2_update_clocks()
287 pp_smu->set_pstate_handshake_support(&pp_smu->pp_smu, clk_mgr_base->clks.p_state_change_support); in dcn2_update_clocks()
407 clk_mgr->clks.p_state_change_support = true; in dcn2_init_clocks()
486 else if (a->p_state_change_support != b->p_state_change_support) in dcn2_are_clock_states_equal()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c175 clk_mgr_base->clks.p_state_change_support = true; in dcn32_init_clocks()
543 if (!new_clocks->p_state_change_support) { in dcn32_auto_dpm_test_log()
636 bool p_state_change_support; in dcn32_update_clocks() local
696 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn32_update_clocks()
705 p_state_change_support = new_clocks->p_state_change_support; in dcn32_update_clocks()
706 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn32_update_clocks()
708 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn32_update_clocks()
711 if (!clk_mgr_base->clks.p_state_change_support) { in dcn32_update_clocks()
753 if (clk_mgr_base->clks.p_state_change_support && in dcn32_update_clocks()
1002 if (clk_mgr_base->clks.p_state_change_support) in dcn32_set_hard_min_memclk()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c237 clk_mgr_base->clks.p_state_change_support = true; in dcn401_init_clocks()
435 if (!new_clocks->p_state_change_support) in dcn401_auto_dpm_test_log()
889 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
890 uclk_p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn401_build_update_bandwidth_clocks_sequence()
892 clk_mgr_base->clks.p_state_change_support = uclk_p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
896 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
924 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
933 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
1334 new_clocks.p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn401_set_hard_min_memclk()
1338 new_clocks.p_state_change_support = true; in dcn401_set_hard_min_memclk()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_trace.h503 __field(int, p_state_change_support)
521 __entry->p_state_change_support = clk->p_state_change_support;
546 __entry->p_state_change_support,
H A Damdgpu_dm_helpers.c1307 dc_state->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dm_helpers_dp_handle_test_pattern_request()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c73 clocks->p_state_change_support = true; in dcn401_initialize_min_clocks()
1342 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn401_prepare_bandwidth() local
1346 if (p_state_change_support) { in dcn401_prepare_bandwidth()
1348 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn401_prepare_bandwidth()
1389 if (p_state_change_support != context->bw_ctx.bw.dcn.clk.p_state_change_support) { in dcn401_prepare_bandwidth()
1392 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn401_prepare_bandwidth()
1610 if ((!dc->clk_mgr->clks.p_state_change_support || in dcn401_hardware_release()
1616 dc->current_state->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn401_hardware_release()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c758 clocks->p_state_change_support = true; in dcn32_initialize_min_clocks()
1785 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn32_prepare_bandwidth() local
1791 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn32_prepare_bandwidth()
1808 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn32_prepare_bandwidth()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1164 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn20_calculate_dlg_params()
1171 …context->bw_ctx.bw.dcn.clk.p_state_change_support |= context->bw_ctx.bw.dcn.clk.fw_based_mclk_swit… in dcn20_calculate_dlg_params()
1214 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn20_calculate_dlg_params()
1242 context->bw_ctx.bw.dcn.clk.p_state_change_support, in dcn20_calculate_dlg_params()
2104 full_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn20_validate_bandwidth_fp()
2108 context->bw_ctx.bw.dcn.clk.p_state_change_support = full_pstate_supported; in dcn20_validate_bandwidth_fp()
2117 dummy_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn20_validate_bandwidth_fp()
2120 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn20_validate_bandwidth_fp()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.c561 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn31_calculate_wm_and_dlg_fp()
571 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn31_calculate_wm_and_dlg_fp()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hubbub/dcn20/
H A Ddcn20_hubbub.c616 hubbub1->base.ctx->dc->clk_mgr->clks.p_state_change_support == false) in hubbub2_program_watermarks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c1157 if ((!dc->clk_mgr->clks.p_state_change_support || subvp_in_use || in dcn30_hardware_release()
1181 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn30_prepare_bandwidth()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
H A Drn_clk_mgr.c449 clk_mgr->clks.p_state_change_support = true; in rn_init_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Dvg_clk_mgr.c381 clk_mgr->clks.p_state_change_support = true; in vg_init_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c304 clk_mgr->clks.p_state_change_support = true; in dcn31_init_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c181 if (!new_clocks->p_state_change_support) in dcn315_update_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c5704 bool p_state_change_support; in dc_enable_dcmode_clk_limit() local
5715 p_state_change_support = dc->clk_mgr->clks.p_state_change_support; in dc_enable_dcmode_clk_limit()
5718 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
5728 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
6241 profile.power_level = !context->bw_ctx.bw.dcn.clk.p_state_change_support; in dc_get_power_profile_for_dc_state()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_utils.c191 context->bw_ctx.bw.dcn.clk.p_state_change_support = out_clks->p_state_supported; in dml2_copy_clocks_to_dc_state()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c192 clk_mgr->clks.p_state_change_support = true; in dcn314_init_clocks()
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc.h606 bool p_state_change_support; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1662 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn32_calculate_dlg_params()
1669 …context->bw_ctx.bw.dcn.clk.p_state_change_support |= context->bw_ctx.bw.dcn.clk.fw_based_mclk_swit… in dcn32_calculate_dlg_params()
1771 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn32_calculate_dlg_params()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c611 clk_mgr->clks.p_state_change_support = true; in init_clk_states()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_translation_helper.c1085 …context->bw_ctx.bw.dcn.clk.p_state_change_support = in_ctx->v21.mode_programming.programming->uclk… in dml21_copy_clocks_to_dc_state()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1814 return !context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn315_get_power_profile()

12