Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c64 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
69 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
74 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps()
75 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
79 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in amdgpu_dm_set_psr_caps()
81 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps()
83 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps()
87 link->psr_settings.psr_feature_enabled, in amdgpu_dm_set_psr_caps()
88 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps()
115 if (link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in amdgpu_dm_link_setup_psr()
[all …]
Damdgpu_dm_crtc.c125 if (vblank_work->stream->link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && in vblank_control_worker()
126 vblank_work->stream->link->psr_settings.psr_allow_active) in vblank_control_worker()
128 } else if (vblank_work->stream->link->psr_settings.psr_feature_enabled && in vblank_control_worker()
129 !vblank_work->stream->link->psr_settings.psr_allow_active && in vblank_control_worker()
Damdgpu_dm_debugfs.c872 seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled)); in psr_capability_show()
873 if (link->psr_settings.psr_version) in psr_capability_show()
874 seq_printf(m, " [0x%02x]", link->psr_settings.psr_version); in psr_capability_show()
Damdgpu_dm.c4362 if (link->psr_settings.psr_feature_enabled) in amdgpu_dm_initialize_drm_device()
5855 if (stream->link->psr_settings.psr_feature_enabled) { in create_stream_for_sink()
7673 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()
7839 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
7867 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in amdgpu_dm_commit_planes()
7868 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()
7873 acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes()
7890 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes()
7892 !acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c142 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version()
148 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version()
397 link->psr_settings.force_ffu_mode = 1; in dmub_psr_copy_settings()
399 link->psr_settings.force_ffu_mode = 0; in dmub_psr_copy_settings()
400 copy_settings_data->force_ffu_mode = link->psr_settings.force_ffu_mode; in dmub_psr_copy_settings()
Ddmub_hw_lock_mgr.c68 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/
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()
135 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c1804 link->psr_settings.psr_vtotal_control_support = false; in dc_link_construct_legacy()
1805 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct_legacy()
1885 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct_dpia()
2744 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in dc_power_alpm_dpcd_enable()
3155 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in dc_link_set_psr_allow_active()
3156 link->psr_settings.psr_power_opt = *power_opts; in dc_link_set_psr_allow_active()
3158 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in dc_link_set_psr_allow_active()
3159 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in dc_link_set_psr_allow_active()
3162 if (psr != NULL && link->psr_settings.psr_feature_enabled && in dc_link_set_psr_allow_active()
3167 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in dc_link_set_psr_allow_active()
[all …]
Ddc.c3141 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd()
3142 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd()
4239 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
4240 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
4244 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
4740 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
Ddc_link_dp.c3970 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
4011 if (link->psr_settings.psr_allow_active) { in handle_hpd_irq_psr_sink()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_link.h99 struct psr_settings { struct
237 struct psr_settings psr_settings; member
Ddc_dmub_srv.c892 if ((pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 || in dc_dmub_should_update_cursor_data()
893 pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) && in dc_dmub_should_update_cursor_data()
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c149 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in mod_build_vsc_infopacket()
151 else if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in mod_build_vsc_infopacket()
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c887 link->psr_settings.psr_frame_capture_indication_req = true; in mod_power_calc_psr_configs()
888 link->psr_settings.psr_sdp_transmit_line_num_deadline = num_vblank_lines; in mod_power_calc_psr_configs()
893 link->psr_settings.psr_frame_capture_indication_req = false; in mod_power_calc_psr_configs()
894 link->psr_settings.psr_sdp_transmit_line_num_deadline = sdp_tx_deadline_in_us / line_time_in_us; in mod_power_calc_psr_configs()
897 …psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_dead… in mod_power_calc_psr_configs()
901 psr_config->psr_frame_capture_indication_req = link->psr_settings.psr_frame_capture_indication_req; in mod_power_calc_psr_configs()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c231 pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED || in dcn32_calculate_cab_allocation()
757 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn32_update_mall_sel()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c765 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1608 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in apply_single_controller_ctx_to_hw()
2034 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c992 else if (link->psr_settings.psr_version == DC_PSR_VERSION_1 && !dc->debug.disable_psr) in decide_zstate_support()