Home
last modified time | relevance | path

Searched refs:p_state_change_support (Results 1 – 18 of 18) 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.c115 clk_mgr_base->clks.p_state_change_support = true; in dcn3_init_clocks()
209 bool p_state_change_support; in dcn3_update_clocks() local
249 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn3_update_clocks()
250 p_state_change_support = new_clocks->p_state_change_support; in dcn3_update_clocks()
253 if (dc->clk_mgr->dc_mode_softmax_enabled && safe_to_lower && !p_state_change_support) { in dcn3_update_clocks()
259 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn3_update_clocks()
261 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn3_update_clocks()
264 if (!clk_mgr_base->clks.p_state_change_support) { in dcn3_update_clocks()
282 if (clk_mgr_base->clks.p_state_change_support && in dcn3_update_clocks()
364 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.c228 clk_mgr_base->clks.p_state_change_support = true; in dcn401_init_clocks()
445 if (!new_clocks->p_state_change_support) in dcn401_auto_dpm_test_log()
899 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
900 uclk_p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn401_build_update_bandwidth_clocks_sequence()
902 clk_mgr_base->clks.p_state_change_support = uclk_p_state_change_support; in dcn401_build_update_bandwidth_clocks_sequence()
906 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
916 …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()
934 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
943 if (clk_mgr_base->clks.p_state_change_support) { in dcn401_build_update_bandwidth_clocks_sequence()
1344 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/dcn32/
H A Ddcn32_hwseq.c767 clocks->p_state_change_support = true; in dcn32_initialize_min_clocks()
1799 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn32_prepare_bandwidth() local
1805 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn32_prepare_bandwidth()
1822 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/hwss/dcn401/
H A Ddcn401_hwseq.c83 clocks->p_state_change_support = true; in dcn401_initialize_min_clocks()
1380 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn401_prepare_bandwidth() local
1384 if (p_state_change_support) { in dcn401_prepare_bandwidth()
1386 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn401_prepare_bandwidth()
1427 if (p_state_change_support != context->bw_ctx.bw.dcn.clk.p_state_change_support) { in dcn401_prepare_bandwidth()
1430 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn401_prepare_bandwidth()
1791 if ((!dc->clk_mgr->clks.p_state_change_support || in dcn401_hardware_release()
1797 dc->current_state->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn401_hardware_release()
1802 dc->clk_mgr->clks.p_state_change_support = false; in dcn401_hardware_release()
/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.c1171 if ((!dc->clk_mgr->clks.p_state_change_support || subvp_in_use || in dcn30_hardware_release()
1195 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn30_prepare_bandwidth()
/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/core/
H A Ddc.c5845 bool p_state_change_support; in dc_enable_dcmode_clk_limit() local
5856 p_state_change_support = dc->clk_mgr->clks.p_state_change_support; in dc_enable_dcmode_clk_limit()
5859 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
5869 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
6485 profile.power_level = !context->bw_ctx.bw.dcn.clk.p_state_change_support; in dc_get_power_profile_for_dc_state()
6589 out_data->uclk_p_state = dc->current_state->clk_mgr->clks.p_state_change_support; in dc_get_power_feature_status()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c815 …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/amdgpu_dm/
H A Damdgpu_dm_helpers.c1349 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/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c726 clk_mgr->clks.p_state_change_support = true; in init_clk_states()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h692 bool p_state_change_support; member
/linux/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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c2448 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn20_optimize_bandwidth()