/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_psr.c | 77 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()
|
D | amdgpu_dm_debugfs.c | 1045 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()
|
D | amdgpu_dm_crtc.c | 144 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/ |
D | dmub_hw_lock_mgr.c | 66 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
|
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() 411 if (link->psr_settings.psr_version == DC_PSR_VERSION_1 && in dmub_psr_copy_settings()
|
D | dce_dmcu.c | 347 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/ |
D | dmcu.h | 44 unsigned int psr_version; member
|
/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/bridge/analogix/ |
D | analogix_dp_core.c | 98 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/ |
D | dc_types.h | 599 unsigned char psr_version; member 1000 enum dc_psr_version psr_version; // Internal PSR version, determined based on DPCD member
|
D | dc_dp_types.h | 865 unsigned char psr_version; member 1061 uint8_t psr_version; member
|
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/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/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() 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()
|
D | link_dp_capability.c | 2025 &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/ |
D | link_factory.c | 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/modules/power/ |
D | power_helpers.c | 824 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/ |
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/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/dmub/inc/ |
D | dmub_cmd.h | 2634 enum psr_version { enum 2965 enum psr_version version;
|
/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/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/dml/dcn20/ |
D | dcn20_fpu.c | 1088 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()
|