Home
last modified time | relevance | path

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

/linux/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/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/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/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/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c235 clk_mgr_base->clks.p_state_change_support = true; in dcn401_init_clocks()
433 if (!new_clocks->p_state_change_support) in dcn401_auto_dpm_test_log()
887 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
888 uclk_p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn401_build_update_bandwidth_clocks_sequence()
890 clk_mgr_base->clks.p_state_change_support = uclk_p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
894 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
904 …if (!clk_mgr_base->clks.p_state_change_support && dcn401_is_ppclk_dpm_enabled(clk_mgr_internal, PP… in dcn401_build_update_bandwidth_clocks_sequence()
922 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
931 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
1332 new_clocks.p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn401_set_hard_min_memclk()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c73 clocks->p_state_change_support = true; in dcn401_initialize_min_clocks()
1385 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn401_prepare_bandwidth() local
1389 if (p_state_change_support) { in dcn401_prepare_bandwidth()
1391 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn401_prepare_bandwidth()
1432 if (p_state_change_support != context->bw_ctx.bw.dcn.clk.p_state_change_support) { in dcn401_prepare_bandwidth()
1435 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn401_prepare_bandwidth()
1653 if ((!dc->clk_mgr->clks.p_state_change_support || in dcn401_hardware_release()
1659 dc->current_state->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn401_hardware_release()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c756 clocks->p_state_change_support = true; in dcn32_initialize_min_clocks()
1782 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn32_prepare_bandwidth() local
1788 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn32_prepare_bandwidth()
1805 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn32_prepare_bandwidth()
/linux/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/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/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/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/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/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/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/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c5665 bool p_state_change_support; in dc_enable_dcmode_clk_limit() local
5676 p_state_change_support = dc->clk_mgr->clks.p_state_change_support; in dc_enable_dcmode_clk_limit()
5679 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
5689 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
6202 profile.power_level = !context->bw_ctx.bw.dcn.clk.p_state_change_support; in dc_get_power_profile_for_dc_state()
/linux/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/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1301 dc_state->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dm_helpers_dp_handle_test_pattern_request()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h600 bool p_state_change_support; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1661 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn32_calculate_dlg_params()
1668 …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()
1770 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn32_calculate_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_translation_helper.c1083 …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/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c599 clk_mgr->clks.p_state_change_support = true; in init_clk_states()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1816 return !context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn315_get_power_profile()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c2449 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn20_optimize_bandwidth()