Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/link/protocols/
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
257 allow_active = false; in handle_hpd_irq_replay_sink()
258 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
259 allow_active = true; in handle_hpd_irq_replay_sink()
260 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
A Dlink_edp_panel_control.c584 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_psr_allow_active() argument
598 if ((allow_active != NULL) && (*allow_active == true) && (link->type == dc_connection_none)) { in edp_set_psr_allow_active()
616 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
617 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
920 bool edp_set_replay_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_replay_allow_active() argument
943 if (allow_active && link->replay_settings.replay_allow_active != *allow_active) { in edp_set_replay_allow_active()
947 replay->funcs->replay_enable(replay, *allow_active, wait, panel_inst, link); in edp_set_replay_allow_active()
948 link->replay_settings.replay_allow_active = *allow_active; in edp_set_replay_allow_active()
A Dlink_edp_panel_control.h47 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active,
/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_psr.c230 bool allow_active = false; in amdgpu_dm_psr_is_active_allowed() local
241 allow_active = true; in amdgpu_dm_psr_is_active_allowed()
246 return allow_active; in amdgpu_dm_psr_is_active_allowed()
/drivers/gpu/drm/amd/display/dc/core/
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()
A Ddc.c5604 bool allow_active; in dc_set_psr_allow_active() local
5616 allow_active = true; in dc_set_psr_allow_active()
5617 if (!dc_link_set_psr_allow_active(link, &allow_active, false, false, NULL)) in dc_set_psr_allow_active()
5620 allow_active = false; in dc_set_psr_allow_active()
5621 if (!dc_link_set_psr_allow_active(link, &allow_active, true, false, NULL)) in dc_set_psr_allow_active()
5634 bool allow_active; in dc_set_replay_allow_active() local
5646 allow_active = true; in dc_set_replay_allow_active()
5647 if (!dc_link_set_replay_allow_active(link, &allow_active, in dc_set_replay_allow_active()
5651 allow_active = false; in dc_set_replay_allow_active()
5652 if (!dc_link_set_replay_allow_active(link, &allow_active, in dc_set_replay_allow_active()
/drivers/gpu/drm/amd/display/dc/clk_mgr/
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()
/drivers/gpu/drm/amd/display/dc/inc/
A Dlink.h266 const bool *allow_active,

Completed in 24 milliseconds