Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c65 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
70 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
75 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps()
76 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
80 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in amdgpu_dm_set_psr_caps()
82 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps()
84 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps()
88 link->psr_settings.psr_feature_enabled, in amdgpu_dm_set_psr_caps()
89 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps()
116 if (link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in amdgpu_dm_link_setup_psr()
[all …]
Damdgpu_dm_crtc.c133 if (vblank_work->stream->link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && in vblank_control_worker()
134 vblank_work->stream->link->psr_settings.psr_allow_active) in vblank_control_worker()
136 } else if (vblank_work->stream->link->psr_settings.psr_feature_enabled && in vblank_control_worker()
137 !vblank_work->stream->link->psr_settings.psr_allow_active && in vblank_control_worker()
Damdgpu_dm.c4525 if (link->psr_settings.psr_feature_enabled) in amdgpu_dm_initialize_drm_device()
6140 …if (stream->link->psr_settings.psr_feature_enabled || stream->link->replay_settings.replay_feature… in create_stream_for_sink()
8148 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled || in amdgpu_dm_commit_planes()
8161 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes()
8168 acrtc_state->stream->link->psr_settings.psr_dirty_rects_change_timestamp_ns = in amdgpu_dm_commit_planes()
8170 if (acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
8336 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
8378 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in amdgpu_dm_commit_planes()
8379 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()
8384 acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes()
[all …]
Damdgpu_dm_debugfs.c996 seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled)); in psr_capability_show()
997 if (link->psr_settings.psr_version) in psr_capability_show()
998 seq_printf(m, " [0x%02x]", link->psr_settings.psr_version); in psr_capability_show()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_edp_panel_control.c447 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable()
527 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in edp_set_psr_allow_active()
528 link->psr_settings.psr_power_opt = *power_opts; in edp_set_psr_allow_active()
530 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active()
531 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active()
534 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active()
539 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
540 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
542 if (!link->psr_settings.psr_allow_active) in edp_set_psr_allow_active()
545 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in edp_set_psr_allow_active()
[all …]
Dlink_dp_irq_handler.c123 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
164 if (link->psr_settings.psr_allow_active) { in handle_hpd_irq_psr_sink()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c147 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version()
153 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version()
392 link->psr_settings.force_ffu_mode = 1; in dmub_psr_copy_settings()
394 link->psr_settings.force_ffu_mode = 0; in dmub_psr_copy_settings()
395 copy_settings_data->force_ffu_mode = link->psr_settings.force_ffu_mode; in dmub_psr_copy_settings()
Ddmub_hw_lock_mgr.c66 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c116 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_exit_optimized_pwr_state()
118 clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active; in clk_mgr_exit_optimized_pwr_state()
137 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
/Linux-v6.6/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c150 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in mod_build_vsc_infopacket()
154 else if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in mod_build_vsc_infopacket()
/Linux-v6.6/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c910 link->psr_settings.psr_frame_capture_indication_req = true; in mod_power_calc_psr_configs()
911 link->psr_settings.psr_sdp_transmit_line_num_deadline = num_vblank_lines; in mod_power_calc_psr_configs()
916 link->psr_settings.psr_frame_capture_indication_req = false; in mod_power_calc_psr_configs()
917 link->psr_settings.psr_sdp_transmit_line_num_deadline = sdp_tx_deadline_in_us / line_time_in_us; in mod_power_calc_psr_configs()
920 …psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_dead… in mod_power_calc_psr_configs()
924 psr_config->psr_frame_capture_indication_req = link->psr_settings.psr_frame_capture_indication_req; in mod_power_calc_psr_configs()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_factory.c718 link->psr_settings.psr_vtotal_control_support = false; in construct_phy()
719 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_phy()
800 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_dpia()
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c198 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn32_check_no_memory_request_for_cab()
258 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in dcn32_apply_idle_power_optimizations()
689 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn32_update_mall_sel()
Ddcn32_resource_helpers.c252 if (pipe->stream && pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn32_is_psr_capable()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc_types.h1010 struct psr_settings { struct
Ddc.h1537 struct psr_settings psr_settings; member
Ddc_dmub_srv.c897 if ((pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 || in dc_dmub_should_update_cursor_data()
898 pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) && in dc_dmub_should_update_cursor_data()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc.c3287 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd()
3288 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd()
4712 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
4713 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
4717 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
5186 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c740 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1597 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in apply_single_controller_ctx_to_hw()
2027 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c997 …else if (is_pwrseq0 && link->psr_settings.psr_version == DC_PSR_VERSION_1 && !link->panel_config.p… in decide_zstate_support()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1450 …if (context->res_ctx.pipe_ctx[i].stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPOR… in dcn32_calculate_dlg_params()