/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_psr.c | 64 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 …]
|
A D | amdgpu_dm_crtc.c | 127 if (vblank_work->stream->link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && in vblank_control_worker() 128 vblank_work->stream->link->psr_settings.psr_allow_active) in vblank_control_worker() 130 } else if (vblank_work->stream->link->psr_settings.psr_feature_enabled && in vblank_control_worker() 131 !vblank_work->stream->link->psr_settings.psr_allow_active && in vblank_control_worker()
|
A D | amdgpu_dm.c | 4441 if (link->psr_settings.psr_feature_enabled) in amdgpu_dm_initialize_drm_device() 6050 if (stream->link->psr_settings.psr_feature_enabled) { in create_stream_for_sink() 7990 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes() 8002 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes() 8009 acrtc_state->stream->link->psr_settings.psr_dirty_rects_change_timestamp_ns = in amdgpu_dm_commit_planes() 8011 if (acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes() 8178 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes() 8207 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes() 8212 acrtc_state->stream->link->psr_settings.psr_feature_enabled) { in amdgpu_dm_commit_planes() 8229 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes() [all …]
|
A D | amdgpu_dm_debugfs.c | 849 seq_printf(m, "Driver support: %s", str_yes_no(link->psr_settings.psr_feature_enabled)); in psr_capability_show() 850 if (link->psr_settings.psr_version) in psr_capability_show() 851 seq_printf(m, " [0x%02x]", link->psr_settings.psr_version); in psr_capability_show()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/ |
A D | link_edp_panel_control.c | 477 link->psr_settings.psr_power_opt = *power_opts; in dc_link_set_psr_allow_active() 489 link->psr_settings.psr_allow_active = *allow_active; in dc_link_set_psr_allow_active() 491 if (!link->psr_settings.psr_allow_active) in dc_link_set_psr_allow_active() 497 link->psr_settings.psr_feature_enabled) in dc_link_set_psr_allow_active() 515 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state() 636 if (link->psr_settings.psr_vtotal_control_support) { in dc_link_setup_psr() 744 link->psr_settings.psr_power_opt = 0; in dc_link_setup_psr() 745 link->psr_settings.psr_allow_active = 0; in dc_link_setup_psr() 753 if (link->psr_settings.psr_feature_enabled == 0) in dc_link_setup_psr() 770 if (psr != NULL && link->psr_settings.psr_feature_enabled) in link_get_psr_residency() [all …]
|
A D | link_dp_irq_handler.c | 115 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink() 156 if (link->psr_settings.psr_allow_active) { in handle_hpd_irq_psr_sink()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dmub_psr.c | 142 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()
|
A D | dmub_hw_lock_mgr.c | 68 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_link.h | 91 struct psr_settings { struct 263 struct psr_settings psr_settings; member
|
A D | dc_dmub_srv.c | 926 if ((pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 || in dc_dmub_should_update_cursor_data() 927 pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) && in dc_dmub_should_update_cursor_data()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
A D | clk_mgr.c | 116 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() 136 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/info_packet/ |
A D | info_packet.c | 150 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in mod_build_vsc_infopacket() 152 else if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in mod_build_vsc_infopacket()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/ |
A D | link_factory.c | 452 link->psr_settings.psr_vtotal_control_support = false; in dc_link_construct_phy() 453 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct_phy() 530 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct_dpia()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/power/ |
A D | power_helpers.c | 896 link->psr_settings.psr_frame_capture_indication_req = true; in mod_power_calc_psr_configs() 897 link->psr_settings.psr_sdp_transmit_line_num_deadline = num_vblank_lines; in mod_power_calc_psr_configs() 902 link->psr_settings.psr_frame_capture_indication_req = false; in mod_power_calc_psr_configs() 903 link->psr_settings.psr_sdp_transmit_line_num_deadline = sdp_tx_deadline_in_us / line_time_in_us; in mod_power_calc_psr_configs() 906 …psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_dead… in mod_power_calc_psr_configs() 910 psr_config->psr_frame_capture_indication_req = link->psr_settings.psr_frame_capture_indication_req; in mod_power_calc_psr_configs()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce60/ |
A D | dce60_hw_sequencer.c | 97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_resource_helpers.c | 258 if (pipe->stream && pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn32_is_psr_capable()
|
A D | dcn32_hwseq.c | 192 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn32_check_no_memory_request_for_cab() 252 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in dcn32_apply_idle_power_optimizations() 646 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn32_update_mall_sel()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc.c | 3269 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd() 3270 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd() 4509 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active() 4510 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active() 4514 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active() 4977 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_hwseq.c | 771 stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn30_apply_idle_power_optimizations()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_hw_sequencer.c | 1589 pipe_ctx->stream->link->psr_settings.psr_feature_enabled = false; in apply_single_controller_ctx_to_hw() 2015 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in should_enable_fbc()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A D | dcn20_fpu.c | 997 …else if (is_pwrseq0 && link->psr_settings.psr_version == DC_PSR_VERSION_1 && !link->panel_config.p… in decide_zstate_support()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
A D | dcn32_fpu.c | 1404 …if (context->res_ctx.pipe_ctx[i].stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPOR… in dcn32_calculate_dlg_params()
|