Searched refs:psr_settings (Results 1 – 13 of 13) sorted by relevance
40 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()44 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()52 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps()53 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()55 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps()56 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps()59 DRM_INFO("PSR support:%d\n", link->psr_settings.psr_feature_enabled); in amdgpu_dm_set_psr_caps()81 if (link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in amdgpu_dm_link_setup_psr()82 psr_config.psr_version = link->psr_settings.psr_version; in amdgpu_dm_link_setup_psr()91 DRM_DEBUG_DRIVER("PSR link: %d\n", link->psr_settings.psr_feature_enabled); in amdgpu_dm_link_setup_psr()
1258 if (vblank_work->stream->link->psr_settings.psr_allow_active) in vblank_control_worker()1260 } else if (vblank_work->stream->link->psr_settings.psr_feature_enabled && in vblank_control_worker()1261 !vblank_work->stream->link->psr_settings.psr_allow_active && in vblank_control_worker()4332 if (link->psr_settings.psr_feature_enabled) in amdgpu_dm_initialize_drm_device()6383 if (stream->link->psr_settings.psr_feature_enabled) { in create_stream_for_sink()9299 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()9342 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in amdgpu_dm_commit_planes()9343 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()9348 acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes()
103 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_exit_optimized_pwr_state()105 clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active; in clk_mgr_exit_optimized_pwr_state()123 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
72 struct psr_settings { struct171 struct psr_settings psr_settings; member
124 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version()130 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version()
1628 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct()2675 link->psr_settings.psr_allow_active = allow_active; in dc_link_set_psr_allow_active()2681 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in dc_link_set_psr_allow_active()2685 …} else if ((dmcu != NULL && dmcu->funcs->is_dmcu_initialized(dmcu)) && link->psr_settings.psr_feat… in dc_link_set_psr_allow_active()2703 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()2705 else if (dmcu != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()2887 link->psr_settings.psr_feature_enabled = psr->funcs->psr_copy_settings(psr, in dc_link_setup_psr()2890 link->psr_settings.psr_feature_enabled = dmcu->funcs->setup_psr(dmcu, link, psr_context); in dc_link_setup_psr()2895 if (link->psr_settings.psr_feature_enabled == 0) in dc_link_setup_psr()2912 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_residency()
3644 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()3645 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()3648 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
2765 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
148 if (stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in mod_build_vsc_infopacket()
97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
789 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
1533 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in apply_single_controller_ctx_to_hw()1970 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
3075 if ((link->link_index == 0 && link->psr_settings.psr_feature_enabled) in decide_zstate_support()