Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_irq_handler.c153 bool allow_active; in handle_hpd_irq_psr_sink() local
165 allow_active = false; in handle_hpd_irq_psr_sink()
166 edp_set_psr_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_psr_sink()
167 allow_active = true; in handle_hpd_irq_psr_sink()
168 edp_set_psr_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_psr_sink()
218 bool allow_active; in handle_hpd_irq_replay_sink() local
238 allow_active = false; in handle_hpd_irq_replay_sink()
239 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
240 allow_active = true; in handle_hpd_irq_replay_sink()
241 edp_set_replay_allow_active(link, &allow_active, true, false, NULL); in handle_hpd_irq_replay_sink()
Dlink_edp_panel_control.c507 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_psr_allow_active() argument
521 if ((allow_active != NULL) && (*allow_active == true) && (link->type == dc_connection_none)) { in edp_set_psr_allow_active()
539 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
540 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
834 bool edp_set_replay_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_replay_allow_active() argument
856 if (allow_active && link->replay_settings.replay_allow_active != *allow_active) { in edp_set_replay_allow_active()
860 replay->funcs->replay_enable(replay, *allow_active, wait, panel_inst); in edp_set_replay_allow_active()
861 link->replay_settings.replay_allow_active = *allow_active; in edp_set_replay_allow_active()
Dlink_edp_panel_control.h48 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active,
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c113 bool allow_active = false; in clk_mgr_exit_optimized_pwr_state() local
119 dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
120 dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c456 bool dc_link_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in dc_link_set_psr_allow_active() argument
459 return link->dc->link_srv->edp_set_psr_allow_active(link, allow_active, wait, in dc_link_set_psr_allow_active()
Ddc.c4702 bool allow_active; in dc_set_psr_allow_active() local
4714 allow_active = true; in dc_set_psr_allow_active()
4715 if (!dc_link_set_psr_allow_active(link, &allow_active, false, false, NULL)) in dc_set_psr_allow_active()
4718 allow_active = false; in dc_set_psr_allow_active()
4719 if (!dc_link_set_psr_allow_active(link, &allow_active, true, false, NULL)) in dc_set_psr_allow_active()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h262 const bool *allow_active,