Home
last modified time | relevance | path

Searched refs:psr_version (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c77 if (link->dpcd_caps.psr_info.psr_version == 0) { in amdgpu_dm_set_psr_caps()
78 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; 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()
92 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps()
93 link->dpcd_caps.psr_info.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()
189 if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1) in amdgpu_dm_psr_enable()
Damdgpu_dm_debugfs.c1045 seq_printf(m, "Sink support: %s", str_yes_no(link->dpcd_caps.psr_info.psr_version != 0)); in psr_capability_show()
1046 if (link->dpcd_caps.psr_info.psr_version) in psr_capability_show()
1047 seq_printf(m, " [0x%02x]", link->dpcd_caps.psr_info.psr_version); 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()
Damdgpu_dm_crtc.c144 if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && is_sr_active) in amdgpu_dm_crtc_set_panel_sr_feature()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_hw_lock_mgr.c66 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
Ddmub_psr.c145 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()
411 if (link->psr_settings.psr_version == DC_PSR_VERSION_1 && in dmub_psr_copy_settings()
Ddce_dmcu.c347 dmcu->dmcu_version.psr_version = REG_READ(DMCU_IRAM_RD_DATA); in dcn10_get_dmcu_version()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h44 unsigned int psr_version; member
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c98 unsigned char psr_version; in analogix_dp_detect_sink_psr() local
101 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); in analogix_dp_detect_sink_psr()
107 dev_dbg(dp->dev, "Panel PSR version : %x\n", psr_version); in analogix_dp_detect_sink_psr()
108 return psr_version & DP_PSR_IS_SUPPORTED; in analogix_dp_detect_sink_psr()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_types.h599 unsigned char psr_version; member
1000 enum dc_psr_version psr_version; // Internal PSR version, determined based on DPCD member
Ddc_dp_types.h865 unsigned char psr_version; member
1061 uint8_t psr_version; member
Ddc_dmub_srv.c1048 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/dml/dcn35/
Ddcn35_fpu.c592 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/
Ddcn351_fpu.c626 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/link/protocols/
Dlink_edp_panel_control.c492 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable()
696 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_setup_psr()
724 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_setup_psr()
Dlink_dp_capability.c2025 &link->dpcd_caps.psr_info.psr_version, in detect_edp_sink_caps()
2026 sizeof(link->dpcd_caps.psr_info.psr_version)); in detect_edp_sink_caps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_factory.c724 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/modules/power/
Dpower_helpers.c824 if (dpcd_caps->psr_info.psr_version >= DP_PSR2_WITH_Y_COORD_ET_SUPPORTED) in is_psr_su_specific_panel()
836 if (dpcd_caps->psr_info.psr_version < DP_PSR2_WITH_Y_COORD_IS_SUPPORTED) in is_psr_su_specific_panel()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c204 (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/resource/dcn32/
Ddcn32_resource_helpers.c237 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/dmub/inc/
Ddmub_cmd.h2634 enum psr_version { enum
2965 enum psr_version version;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c648 (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/hwss/dcn401/
Ddcn401_hwseq.c1259 (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/
Ddcn30_hwseq.c949 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/dml/dcn20/
Ddcn20_fpu.c1088 bool is_psr = (link && (link->psr_settings.psr_version == DC_PSR_VERSION_1 || in decide_zstate_support()
1089 … link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) && !link->panel_config.psr.disable_psr); in decide_zstate_support()

12