Home
last modified time | relevance | path

Searched refs:psr_settings (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c48 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps()
49 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
51 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps()
52 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps()
55 DRM_INFO("PSR support:%d\n", link->psr_settings.psr_feature_enabled); in amdgpu_dm_set_psr_caps()
89 DRM_DEBUG_DRIVER("PSR link: %d\n", link->psr_settings.psr_feature_enabled); in amdgpu_dm_link_setup_psr()
Damdgpu_dm.c1069 if (vblank_work->stream->link->psr_settings.psr_allow_active) in vblank_control_worker()
1071 } else if (vblank_work->stream->link->psr_settings.psr_feature_enabled && in vblank_control_worker()
1072 !vblank_work->stream->link->psr_settings.psr_allow_active && in vblank_control_worker()
5881 if (stream->link->psr_settings.psr_feature_enabled) { in create_stream_for_sink()
8751 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
8779 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in amdgpu_dm_commit_planes()
8780 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()
8785 acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c103 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()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/
Ddc_link.h72 struct psr_settings { struct
171 struct psr_settings psr_settings; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c124 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()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c1628 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct()
2679 link->psr_settings.psr_allow_active = allow_active; in dc_link_set_psr_allow_active()
2685 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in dc_link_set_psr_allow_active()
2689 …} else if ((dmcu != NULL && dmcu->funcs->is_dmcu_initialized(dmcu)) && link->psr_settings.psr_feat… in dc_link_set_psr_allow_active()
2707 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()
2709 else if (dmcu != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()
2891 link->psr_settings.psr_feature_enabled = psr->funcs->psr_copy_settings(psr, in dc_link_setup_psr()
2894 link->psr_settings.psr_feature_enabled = dmcu->funcs->setup_psr(dmcu, link, psr_context); in dc_link_setup_psr()
2899 if (link->psr_settings.psr_feature_enabled == 0) in dc_link_setup_psr()
2916 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_residency()
Ddc.c3346 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
3347 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
3350 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
Ddc_link_dp.c2765 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c147 if (stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in mod_build_vsc_infopacket()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c788 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1531 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in apply_single_controller_ctx_to_hw()
1965 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c3073 if ((link->link_index == 0 && link->psr_settings.psr_feature_enabled) in decide_zstate_support()