Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c520 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable()
604 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in edp_set_psr_allow_active()
605 link->psr_settings.psr_power_opt = *power_opts; in edp_set_psr_allow_active()
607 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active()
608 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active()
611 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active()
616 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
617 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
619 if (!link->psr_settings.psr_allow_active) in edp_set_psr_allow_active()
622 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in edp_set_psr_allow_active()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c133 link->psr_settings.psr_allow_active); in amdgpu_dm_crtc_set_panel_sr_feature()
146 if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && is_sr_active) in amdgpu_dm_crtc_set_panel_sr_feature()
148 } else if (link->psr_settings.psr_feature_enabled && !vrr_active && in amdgpu_dm_crtc_set_panel_sr_feature()
323 struct psr_settings *psr = &acrtc_state->stream->link->psr_settings; in amdgpu_dm_crtc_set_vblank()
H A Damdgpu_dm.c617 bool psr_en = acrtc->dm_irq_params.stream->link->psr_settings.psr_feature_enabled; in dm_vupdate_high_irq()
720 bool psr_en = acrtc->dm_irq_params.stream->link->psr_settings.psr_feature_enabled; in dm_crtc_high_irq()
5576 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_initialize_drm_device()
5577 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_initialize_drm_device()
5630 link->psr_settings.psr_feature_enabled, in amdgpu_dm_initialize_drm_device()
5631 link->psr_settings.psr_version, in amdgpu_dm_initialize_drm_device()
9289 if (acrtc_state->stream->link->psr_settings.psr_version < in manage_dm_interrupts()
9812 struct psr_settings *psr = &acrtc_state->stream->link->psr_settings; in amdgpu_dm_enable_self_refresh()
9997 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled || in amdgpu_dm_commit_planes()
10002 acrtc_state->stream->link->psr_settings.psr_version == in amdgpu_dm_commit_planes()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c914 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/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c788 link->psr_settings.psr_vtotal_control_support = false; in construct_phy()
789 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_phy()
872 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_dpia()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn351/
H A Ddcn351_fpu.c627 bool is_psr = (link && (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in dcn351_decide_zstate_support()
628 … link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) && !link->panel_config.psr.disable_psr); in dcn351_decide_zstate_support()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn35/
H A Ddcn35_fpu.c596 bool is_psr = (link && (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in dcn35_decide_zstate_support()
597 … link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) && !link->panel_config.psr.disable_psr); in dcn35_decide_zstate_support()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1051 struct psr_settings { struct
H A Ddc.h1677 struct psr_settings psr_settings; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c237 if (pipe->stream && pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn32_is_psr_capable()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c305 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in create_links()
3767 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd()
3768 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd()
5569 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
5570 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
5574 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
6274 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1227 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn401_check_no_memory_request_for_cab()
1280 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn401_apply_idle_power_optimizations()
3951 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn401_program_mall_pipe_config_sequence()