Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c517 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable()
601 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in edp_set_psr_allow_active()
602 link->psr_settings.psr_power_opt = *power_opts; in edp_set_psr_allow_active()
604 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active()
605 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, (uint8_t)panel_inst); in edp_set_psr_allow_active()
608 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active()
613 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
614 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
616 if (!link->psr_settings.psr_allow_active) in edp_set_psr_allow_active()
619 if (psr != NULL && link->psr_settings.psr_feature_enabled) in edp_set_psr_allow_active()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c115 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_exit_optimized_pwr_state()
117 clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active; in clk_mgr_exit_optimized_pwr_state()
136 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c139 if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1) in amdgpu_dm_crtc_set_static_screen_optimze()
275 struct psr_settings *psr = &acrtc_state->stream->link->psr_settings; in amdgpu_dm_crtc_set_vblank()
H A Damdgpu_dm.c2520 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_initialize_drm_device()
2521 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_initialize_drm_device()
2575 link->psr_settings.psr_feature_enabled, in amdgpu_dm_initialize_drm_device()
2576 link->psr_settings.psr_version, in amdgpu_dm_initialize_drm_device()
3706 struct psr_settings *psr = &acrtc_state->stream->link->psr_settings; in amdgpu_dm_enable_self_refresh()
3936 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled || in amdgpu_dm_commit_planes()
3941 acrtc_state->stream->link->psr_settings.psr_version == in amdgpu_dm_commit_planes()
3952 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes()
3956 acrtc_state->stream->link->psr_settings.psr_dirty_rects_change_timestamp_ns = in amdgpu_dm_commit_planes()
H A Damdgpu_dm_debugfs.c1077 seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled)); in psr_capability_show()
1078 if (link->psr_settings.psr_version) in psr_capability_show()
1079 seq_printf(m, " [0x%02x]", link->psr_settings.psr_version); in psr_capability_show()
3468 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in disallow_edp_enter_psr_set()
3470 link->psr_settings.psr_version = DC_PSR_VERSION_1; in disallow_edp_enter_psr_set()
3472 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in disallow_edp_enter_psr_set()
H A Damdgpu_dm_irq.c2036 bool psr_en = acrtc->dm_irq_params.stream->link->psr_settings.psr_feature_enabled; in dm_crtc_high_irq_handler()
2141 bool psr_en = acrtc->dm_irq_params.stream->link->psr_settings.psr_feature_enabled; in dm_vupdate_high_irq()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c887 link->psr_settings.psr_vtotal_control_support = false; in construct_phy()
888 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_phy()
968 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_dpia()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_crtc_test.c796 link->psr_settings.psr_version = DC_PSR_VERSION_1; in dm_test_crtc_set_static_screen_optimze_sr_entry_psr()
822 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in dm_test_crtc_set_static_screen_optimze_psr_su_skips()
1166 link->psr_settings.psr_version = DC_PSR_VERSION_1; in dm_test_crtc_enable_vblank_ips_restore()
1216 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dm_test_crtc_enable_vblank_ips_restore_replay()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c314 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in dcn60_apply_single_controller_ctx_to_hw()
1088 link && (link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED || in dcn60_has_active_memory_request()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1945 struct psr_settings psr_settings; member
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c307 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in create_links()
4518 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd()
4519 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd()
6588 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
6589 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
6593 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
7303 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c1029 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()