Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c40 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()
Damdgpu_dm.c1258 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()
/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()
/drivers/gpu/drm/amd/display/dc/
Ddc_link.h72 struct psr_settings { struct
171 struct psr_settings psr_settings; member
/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()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c1628 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()
Ddc.c3644 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()
Ddc_link_dp.c2765 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c148 if (stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in mod_build_vsc_infopacket()
/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()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c789 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1533 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()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c3075 if ((link->link_index == 0 && link->psr_settings.psr_feature_enabled) in decide_zstate_support()