/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/ |
D | dcn201_clk_mgr.c | 80 clk_mgr->clks.p_state_change_support = true; in dcn201_init_clocks() 97 bool p_state_change_support; in dcn201_update_clocks() local 130 p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0); in dcn201_update_clocks() 131 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn201_update_clocks() 132 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn201_update_clocks() 133 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn201_update_clocks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 114 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.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
D | dcn20_clk_mgr.c | 231 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.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
D | dcn32_clk_mgr.c | 163 clk_mgr_base->clks.p_state_change_support = true; in dcn32_init_clocks() 469 bool p_state_change_support; in dcn32_update_clocks() local 529 clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support; in dcn32_update_clocks() 538 p_state_change_support = new_clocks->p_state_change_support; in dcn32_update_clocks() 539 …should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_cha… in dcn32_update_clocks() 541 clk_mgr_base->clks.p_state_change_support = p_state_change_support; in dcn32_update_clocks() 544 if (!clk_mgr_base->clks.p_state_change_support) { in dcn32_update_clocks() 582 if (clk_mgr_base->clks.p_state_change_support && in dcn32_update_clocks() 805 if (clk_mgr_base->clks.p_state_change_support) in dcn32_set_hard_min_memclk() 888 else if (a->p_state_change_support != b->p_state_change_support) in dcn32_are_clock_states_equal()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hwseq.c | 937 if ((!dc->clk_mgr->clks.p_state_change_support || subvp_in_use || in dcn30_hardware_release() 959 bool p_state_change_support = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn30_prepare_bandwidth() local 965 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn30_prepare_bandwidth() 986 context->bw_ctx.bw.dcn.clk.p_state_change_support = p_state_change_support; in dcn30_prepare_bandwidth()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 503 __field(int, p_state_change_support) 521 __entry->p_state_change_support = clk->p_state_change_support; 546 __entry->p_state_change_support,
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1157 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn20_calculate_dlg_params() 1164 …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() 1207 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn20_calculate_dlg_params() 1235 context->bw_ctx.bw.dcn.clk.p_state_change_support, in dcn20_calculate_dlg_params() 2098 full_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn20_validate_bandwidth_fp() 2102 context->bw_ctx.bw.dcn.clk.p_state_change_support = full_pstate_supported; in dcn20_validate_bandwidth_fp() 2110 dummy_pstate_supported = context->bw_ctx.bw.dcn.clk.p_state_change_support; in dcn20_validate_bandwidth_fp() 2113 context->bw_ctx.bw.dcn.clk.p_state_change_support = false; in dcn20_validate_bandwidth_fp()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 551 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn31_calculate_wm_and_dlg_fp() 561 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn31_calculate_wm_and_dlg_fp()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubbub.c | 595 hubbub1->base.ctx->dc->clk_mgr->clks.p_state_change_support == false) in hubbub2_program_watermarks()
|
D | dcn20_hwseq.c | 2133 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn20_optimize_bandwidth()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 449 clk_mgr->clks.p_state_change_support = true; in rn_init_clocks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 381 clk_mgr->clks.p_state_change_support = true; in vg_init_clocks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 303 clk_mgr->clks.p_state_change_support = true; in dcn31_init_clocks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
D | dcn315_clk_mgr.c | 173 if (!new_clocks->p_state_change_support) in dcn315_update_clocks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 4799 bool p_state_change_support; in dc_enable_dcmode_clk_limit() local 4810 p_state_change_support = dc->clk_mgr->clks.p_state_change_support; in dc_enable_dcmode_clk_limit() 4813 if (p_state_change_support) { in dc_enable_dcmode_clk_limit() 4823 if (p_state_change_support) { in dc_enable_dcmode_clk_limit()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 535 bool p_state_change_support; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 1366 context->bw_ctx.bw.dcn.clk.p_state_change_support = in dcn32_calculate_dlg_params() 1373 …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() 1475 context->bw_ctx.bw.dcn.clk.p_state_change_support = true; in dcn32_calculate_dlg_params()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 746 clocks->p_state_change_support = true; in dcn32_initialize_min_clocks()
|