/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_irq_handler.c | 195 if (!link->replay_settings.replay_feature_enabled) in handle_hpd_irq_replay_sink() 224 link->replay_settings.config.replay_error_status.bits.LINK_CRC_ERROR = in handle_hpd_irq_replay_sink() 226 link->replay_settings.config.replay_error_status.bits.DESYNC_ERROR = in handle_hpd_irq_replay_sink() 228 link->replay_settings.config.replay_error_status.bits.STATE_TRANSITION_ERROR = in handle_hpd_irq_replay_sink() 231 if (link->replay_settings.config.replay_error_status.bits.LINK_CRC_ERROR || in handle_hpd_irq_replay_sink() 232 link->replay_settings.config.replay_error_status.bits.DESYNC_ERROR || in handle_hpd_irq_replay_sink() 233 link->replay_settings.config.replay_error_status.bits.STATE_TRANSITION_ERROR) { in handle_hpd_irq_replay_sink() 236 if (link->replay_settings.config.replay_error_status.bits.DESYNC_ERROR) in handle_hpd_irq_replay_sink() 237 link->replay_settings.config.received_desync_error_hpd = 1; in handle_hpd_irq_replay_sink() 239 if (link->replay_settings.config.force_disable_desync_error_check) in handle_hpd_irq_replay_sink() [all …]
|
H A D | link_edp_panel_control.c | 900 link->replay_settings.replay_power_opt_active = *power_opts; in edp_set_replay_allow_active() 910 link->replay_settings.replay_allow_active = *allow_active; in edp_set_replay_allow_active() 926 if (replay != NULL && link->replay_settings.replay_feature_enabled) in edp_get_replay_state() 985 link->replay_settings.replay_feature_enabled = in edp_setup_replay() 987 if (link->replay_settings.replay_feature_enabled) { in edp_setup_replay() 991 link->replay_settings.config.replay_timing_sync_supported; in edp_setup_replay() 1053 link->replay_settings.coasting_vtotal = coasting_vtotal; in edp_set_coasting_vtotal() 1072 if (replay != NULL && link->replay_settings.replay_feature_enabled) in edp_replay_residency() 1093 if (link->replay_settings.replay_feature_enabled && in edp_set_replay_power_opt_and_coasting_vtotal() 1097 link->replay_settings.replay_power_opt_active = *power_opts; in edp_set_replay_power_opt_and_coasting_vtotal() [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.c | 85 if (link->replay_settings.config.replay_supported) in amdgpu_dm_set_replay_caps() 127 pr_config = &link->replay_settings.config; in amdgpu_dm_link_setup_replay() 141 link->replay_settings.replay_feature_enabled = true; in amdgpu_dm_link_setup_replay()
|
H A D | amdgpu_dm_crtc.c | 131 bool is_sr_active = (link->replay_settings.replay_allow_active || in amdgpu_dm_crtc_set_panel_sr_feature() 140 if (link->replay_settings.replay_feature_enabled && in amdgpu_dm_crtc_set_panel_sr_feature() 273 vblank_work->stream->link->replay_settings.replay_feature_enabled); in amdgpu_dm_crtc_vblank_control_worker()
|
H A D | amdgpu_dm_debugfs.c | 995 if (link->replay_settings.config.replay_supported) { in replay_capability_show() 1011 seq_printf(m, "Config support: %s\n", str_yes_no(link->replay_settings.config.replay_supported)); in replay_capability_show()
|
H A D | amdgpu_dm.c | 9016 acrtc_state->stream->link->replay_settings.replay_feature_enabled) { in amdgpu_dm_commit_planes() 9250 if (acrtc_state->stream->link->replay_settings.config.replay_supported && in amdgpu_dm_commit_planes() 9251 !acrtc_state->stream->link->replay_settings.replay_feature_enabled) { in amdgpu_dm_commit_planes() 12289 amdgpu_dm_connector->dc_link->replay_settings.config.replay_supported) { in amdgpu_dm_update_freesync_caps() 12290 amdgpu_dm_connector->dc_link->replay_settings.config.replay_supported = false; in amdgpu_dm_update_freesync_caps() 12291 amdgpu_dm_connector->dc_link->replay_settings.replay_feature_enabled = false; in amdgpu_dm_update_freesync_caps()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_hw_lock_mgr.c | 69 if (link->replay_settings.replay_feature_enabled) in should_use_dmub_lock()
|
H A D | dmub_replay.c | 166 copy_settings_data->debug.u32All = link->replay_settings.config.debug_flags; in dmub_replay_copy_settings() 169 copy_settings_data->smu_optimizations_en = link->replay_settings.replay_smu_opt_enable; in dmub_replay_copy_settings() 170 …copy_settings_data->replay_timing_sync_supported = link->replay_settings.config.replay_timing_sync… in dmub_replay_copy_settings()
|
/linux/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.c | 935 link->replay_settings.config = *pr_config; in init_replay_config() 982 link->replay_settings.defer_update_coasting_vtotal_table[type] = vtotal; in set_replay_defer_update_coasting_vtotal() 988 link->replay_settings.coasting_vtotal_table[type] = in update_replay_coasting_vtotal_from_defer() 989 link->replay_settings.defer_update_coasting_vtotal_table[type]; in update_replay_coasting_vtotal_from_defer() 996 link->replay_settings.coasting_vtotal_table[type] = vtotal; in set_replay_coasting_vtotal() 1001 link->replay_settings.abm_with_ips_on_full_screen_video_pseudo_vtotal = vtotal; in set_replay_ips_full_screen_video_src_vtotal() 1018 link->replay_settings.link_off_frame_count = max_link_off_frame_count; in calculate_replay_link_off_frame_count()
|
/linux/drivers/gpu/drm/amd/display/modules/info_packet/ |
H A D | info_packet.c | 152 else if (stream->link->replay_settings.config.replay_supported) in mod_build_vsc_infopacket()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
H A D | dcn35_fpu.c | 594 bool is_replay = link && link->replay_settings.replay_feature_enabled; in dcn35_decide_zstate_support()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
H A D | dcn351_fpu.c | 628 bool is_replay = link && link->replay_settings.replay_feature_enabled; in dcn351_decide_zstate_support()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 1099 struct replay_settings { struct
|
H A D | dc.h | 1750 struct replay_settings replay_settings; member
|
H A D | dc_dmub_srv.c | 1053 if (pipe_ctx->stream->link->replay_settings.config.replay_supported) in dc_dmub_should_update_cursor_data()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 3419 if (stream->link->replay_settings.config.replay_supported) in dc_dmub_should_send_dirty_rect_cmd() 5311 if (link->replay_settings.replay_feature_enabled) { in dc_set_replay_allow_active() 5312 if (active && !link->replay_settings.replay_allow_active) { in dc_set_replay_allow_active() 5317 } else if (!active && link->replay_settings.replay_allow_active) { in dc_set_replay_allow_active() 5866 if (link->replay_settings.replay_feature_enabled) in dc_notify_vsync_int_state() 5917 if (link->replay_settings.replay_feature_enabled) in dc_abm_save_restore()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 1700 pipe_ctx->stream->link->replay_settings.replay_feature_enabled = false; in dce110_apply_single_controller_ctx_to_hw() 2207 if (pipe_ctx->stream->link->replay_settings.replay_feature_enabled) in should_enable_fbc()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 650 bool is_replay = link && link->replay_settings.replay_feature_enabled; in dcn35_apply_idle_power_optimizations()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1090 bool is_replay = link && link->replay_settings.replay_feature_enabled; in decide_zstate_support()
|