Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A 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()
H A Dlink_edp_panel_control.c543 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_psr_allow_active() argument
557 if ((allow_active != NULL) && (*allow_active == true) && (link->type == dc_connection_none)) { in edp_set_psr_allow_active()
575 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
576 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
870 bool edp_set_replay_allow_active(struct dc_link *link, const bool *allow_active, in edp_set_replay_allow_active() argument
893 if (allow_active && link->replay_settings.replay_allow_active != *allow_active) { in edp_set_replay_allow_active()
897 replay->funcs->replay_enable(replay, *allow_active, wait, panel_inst); in edp_set_replay_allow_active()
898 link->replay_settings.replay_allow_active = *allow_active; in edp_set_replay_allow_active()
H A Dlink_edp_panel_control.h47 bool edp_set_psr_allow_active(struct dc_link *link, const bool *allow_active,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A 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()
/openbmc/qemu/tests/qtest/
H A Dmigration-helpers.h51 void wait_for_migration_fail(QTestState *from, bool allow_active);
H A Dmigration-helpers.c359 void wait_for_migration_fail(QTestState *from, bool allow_active) in wait_for_migration_fail() argument
369 (allow_active && !strcmp(status, "active")); in wait_for_migration_fail()
372 __func__, status, allow_active); in wait_for_migration_fail()
H A Dmigration-test.c1820 bool allow_active = args->result == MIG_TEST_FAIL; in test_precopy_common() local
1821 wait_for_migration_fail(from, allow_active); in test_precopy_common()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A 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()
H A Ddc.c4681 bool allow_active; in dc_set_psr_allow_active() local
4693 allow_active = true; in dc_set_psr_allow_active()
4694 if (!dc_link_set_psr_allow_active(link, &allow_active, false, false, NULL)) in dc_set_psr_allow_active()
4697 allow_active = false; in dc_set_psr_allow_active()
4698 if (!dc_link_set_psr_allow_active(link, &allow_active, true, false, NULL)) in dc_set_psr_allow_active()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h262 const bool *allow_active,