/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_psr.c | 68 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps() 73 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps() 78 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps() 79 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps() 83 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in amdgpu_dm_set_psr_caps() 85 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps() 87 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps() 91 link->psr_settings.psr_feature_enabled, in amdgpu_dm_set_psr_caps() 92 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps() 119 if (link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in amdgpu_dm_link_setup_psr() [all …]
|
D | amdgpu_dm_crtc.c | 132 link->psr_settings.psr_allow_active); in amdgpu_dm_crtc_set_panel_sr_feature() 144 if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && is_sr_active) in amdgpu_dm_crtc_set_panel_sr_feature() 146 } else if (link->psr_settings.psr_feature_enabled && in amdgpu_dm_crtc_set_panel_sr_feature()
|
D | amdgpu_dm.c | 4999 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_initialize_drm_device() 5000 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_initialize_drm_device() 8376 acrtc_state->stream->link->psr_settings.psr_version < in manage_dm_interrupts() 8882 struct psr_settings *psr = &acrtc_state->stream->link->psr_settings; in amdgpu_dm_enable_self_refresh() 9065 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled || in amdgpu_dm_commit_planes() 9070 acrtc_state->stream->link->psr_settings.psr_version == in amdgpu_dm_commit_planes() 9080 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes() 9087 acrtc_state->stream->link->psr_settings.psr_dirty_rects_change_timestamp_ns = in amdgpu_dm_commit_planes() 9089 if (acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes() 9259 if (acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
|
D | amdgpu_dm_debugfs.c | 1050 seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled)); in psr_capability_show() 1051 if (link->psr_settings.psr_version) in psr_capability_show() 1052 seq_printf(m, " [0x%02x]", link->psr_settings.psr_version); in psr_capability_show()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_edp_panel_control.c | 492 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable() 575 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in edp_set_psr_allow_active() 576 link->psr_settings.psr_power_opt = *power_opts; in edp_set_psr_allow_active() 578 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active() 579 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active() 582 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active() 587 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active() 588 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active() 590 if (!link->psr_settings.psr_allow_active) in edp_set_psr_allow_active() 593 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in edp_set_psr_allow_active() [all …]
|
D | link_dp_irq_handler.c | 125 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink() 166 if (link->psr_settings.psr_allow_active) { in handle_hpd_irq_psr_sink()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 145 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version() 151 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() 411 if (link->psr_settings.psr_version == DC_PSR_VERSION_1 && in dmub_psr_copy_settings()
|
D | dmub_hw_lock_mgr.c | 66 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
D | clk_mgr.c | 112 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_exit_optimized_pwr_state() 114 clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active; in clk_mgr_exit_optimized_pwr_state() 133 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/info_packet/ |
D | info_packet.c | 150 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-6.12.1/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.c | 914 link->psr_settings.psr_frame_capture_indication_req = true; in mod_power_calc_psr_configs() 915 link->psr_settings.psr_sdp_transmit_line_num_deadline = num_vblank_lines; in mod_power_calc_psr_configs() 920 link->psr_settings.psr_frame_capture_indication_req = false; in mod_power_calc_psr_configs() 921 link->psr_settings.psr_sdp_transmit_line_num_deadline = sdp_tx_deadline_in_us / line_time_in_us; in mod_power_calc_psr_configs() 924 …psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_dead… in mod_power_calc_psr_configs() 928 psr_config->psr_frame_capture_indication_req = link->psr_settings.psr_frame_capture_indication_req; in mod_power_calc_psr_configs()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_factory.c | 723 link->psr_settings.psr_vtotal_control_support = false; in construct_phy() 724 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_phy() 805 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_dpia()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
D | dcn35_fpu.c | 592 bool is_psr = (link && (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in dcn35_decide_zstate_support() 593 … link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) && !link->panel_config.psr.disable_psr); in dcn35_decide_zstate_support()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
D | dcn351_fpu.c | 626 bool is_psr = (link && (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in dcn351_decide_zstate_support() 627 … link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) && !link->panel_config.psr.disable_psr); in dcn351_decide_zstate_support()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
D | dcn32_hwseq.c | 204 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn32_check_no_memory_request_for_cab() 267 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in dcn32_apply_idle_power_optimizations() 701 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn32_update_mall_sel()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 1749 struct psr_settings psr_settings; member
|
D | dc_types.h | 997 struct psr_settings { struct
|
D | dc_dmub_srv.c | 1048 if ((pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 || in dc_dmub_should_update_cursor_data() 1049 pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) && in dc_dmub_should_update_cursor_data()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
D | dcn32_resource_helpers.c | 237 if (pipe->stream && pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn32_is_psr_capable()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
D | dcn35_hwseq.c | 648 (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in dcn35_apply_idle_power_optimizations() 649 link->psr_settings.psr_version == DC_PSR_VERSION_SU_1); in dcn35_apply_idle_power_optimizations()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 3414 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd() 3415 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd() 5281 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active() 5282 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active() 5286 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active() 5863 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
D | dcn401_hwseq.c | 1259 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn401_check_no_memory_request_for_cab() 1312 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn401_apply_idle_power_optimizations()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
D | dcn30_hwseq.c | 949 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 1699 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in dce110_apply_single_controller_ctx_to_hw() 2203 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
|