Home
last modified time | relevance | path

Searched refs:allow_active (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_irq_handler.c156 bool allow_active; in handle_hpd_irq_psr_sink() local
168 allow_active = false; in handle_hpd_irq_psr_sink()
169 edp_set_psr_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_psr_sink()
170 allow_active = true; in handle_hpd_irq_psr_sink()
171 edp_set_psr_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_psr_sink()
228 bool allow_active; in handle_hpd_irq_replay_sink() local
256 allow_active = false; in handle_hpd_irq_replay_sink()
257 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
258 allow_active = true; in handle_hpd_irq_replay_sink()
259 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
H A Dlink_edp_panel_control.c556 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_psr_allow_active() argument
570 if ((allow_active != NULL) && (*allow_active == true) && (link->type == dc_connection_none)) { in edp_set_psr_allow_active()
588 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
589 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
892 bool edp_set_replay_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_replay_allow_active() argument
915 if (allow_active && link->replay_settings.replay_allow_active != *allow_active) { in edp_set_replay_allow_active()
919 replay->funcs->replay_enable(replay, *allow_active, wait, panel_inst); in edp_set_replay_allow_active()
920 link->replay_settings.replay_allow_active = *allow_active; in edp_set_replay_allow_active()
H A Dlink_edp_panel_control.h46 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active,
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_psr.c236 bool allow_active = false; in amdgpu_dm_psr_is_active_allowed() local
247 allow_active = true; in amdgpu_dm_psr_is_active_allowed()
252 return allow_active; in amdgpu_dm_psr_is_active_allowed()
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_exports.c467 bool dc_link_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in dc_link_set_psr_allow_active() argument
470 return link->dc->link_srv->edp_set_psr_allow_active(link, allow_active, wait, in dc_link_set_psr_allow_active()
481 bool dc_link_set_replay_allow_active(struct dc_link *link, const bool *allow_active, in dc_link_set_replay_allow_active() argument
484 return link->dc->link_srv->edp_set_replay_allow_active(link, allow_active, wait, in dc_link_set_replay_allow_active()
H A Ddc.c5482 bool allow_active; in dc_set_psr_allow_active() local
5494 allow_active = true; in dc_set_psr_allow_active()
5495 if (!dc_link_set_psr_allow_active(link, &allow_active, false, false, NULL)) in dc_set_psr_allow_active()
5498 allow_active = false; in dc_set_psr_allow_active()
5499 if (!dc_link_set_psr_allow_active(link, &allow_active, true, false, NULL)) in dc_set_psr_allow_active()
5512 bool allow_active; in dc_set_replay_allow_active() local
5524 allow_active = true; in dc_set_replay_allow_active()
5525 if (!dc_link_set_replay_allow_active(link, &allow_active, in dc_set_replay_allow_active()
5529 allow_active = false; in dc_set_replay_allow_active()
5530 if (!dc_link_set_replay_allow_active(link, &allow_active, in dc_set_replay_allow_active()
/linux-6.15/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c109 bool allow_active = false; in clk_mgr_exit_optimized_pwr_state() local
115 dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
116 dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h263 const bool *allow_active,