Home
last modified time | relevance | path

Searched refs:psr_settings (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_psr.c65 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
70 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
75 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in amdgpu_dm_set_psr_caps()
76 link->psr_settings.psr_feature_enabled = false; in amdgpu_dm_set_psr_caps()
80 link->psr_settings.psr_version = DC_PSR_VERSION_SU_1; in amdgpu_dm_set_psr_caps()
82 link->psr_settings.psr_version = DC_PSR_VERSION_1; in amdgpu_dm_set_psr_caps()
84 link->psr_settings.psr_feature_enabled = true; in amdgpu_dm_set_psr_caps()
88 link->psr_settings.psr_feature_enabled, in amdgpu_dm_set_psr_caps()
89 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps()
116 if (link->psr_settings in amdgpu_dm_link_setup_psr()
[all...]
H A Damdgpu_dm_crtc.c127 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()
H A Damdgpu_dm.c4505 if (link->psr_settings.psr_feature_enabled) in amdgpu_dm_initialize_drm_device()
6143 if (stream->link->psr_settings.psr_feature_enabled) in create_stream_for_sink()
8139 if (acrtc_state->stream->link->psr_settings.psr_feature_enabled || in amdgpu_dm_commit_planes()
8152 if (acrtc_state->stream->link->psr_settings.psr_version >= DC_PSR_VERSION_SU_1 && in amdgpu_dm_commit_planes()
8159 acrtc_state->stream->link->psr_settings.psr_dirty_rects_change_timestamp_ns = in amdgpu_dm_commit_planes()
8161 if (acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
8327 acrtc_state->stream->link->psr_settings.psr_allow_active) in amdgpu_dm_commit_planes()
8369 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED && in amdgpu_dm_commit_planes()
8370 !acrtc_state->stream->link->psr_settings.psr_feature_enabled) in amdgpu_dm_commit_planes()
8375 acrtc_state->stream->link->psr_settings in amdgpu_dm_commit_planes()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c483 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) { in edp_power_alpm_dpcd_enable()
563 if (power_opts && link->psr_settings.psr_power_opt != *power_opts) { in edp_set_psr_allow_active()
564 link->psr_settings.psr_power_opt = *power_opts; in edp_set_psr_allow_active()
566 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active()
567 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active()
570 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active()
575 if (allow_active && link->psr_settings.psr_allow_active != *allow_active) { in edp_set_psr_allow_active()
576 link->psr_settings.psr_allow_active = *allow_active; in edp_set_psr_allow_active()
578 if (!link->psr_settings.psr_allow_active) in edp_set_psr_allow_active()
581 if (psr != NULL && link->psr_settings in edp_set_psr_allow_active()
[all...]
H A Dlink_dp_irq_handler.c123 if (!link->psr_settings.psr_feature_enabled) in handle_hpd_irq_psr_sink()
164 if (link->psr_settings.psr_allow_active) { in handle_hpd_irq_psr_sink()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Ddc_link.h71 struct psr_settings { struct
152 struct psr_settings psr_settings; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_psr.c147 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version()
153 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version()
393 link->psr_settings.force_ffu_mode = 1; in dmub_psr_copy_settings()
395 link->psr_settings.force_ffu_mode = 0; in dmub_psr_copy_settings()
396 copy_settings_data->force_ffu_mode = link->psr_settings.force_ffu_mode; in dmub_psr_copy_settings()
H A Ddmub_hw_lock_mgr.c66 if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in should_use_dmub_lock()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c116 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()
137 if (!edp_link->psr_settings.psr_feature_enabled) in clk_mgr_optimize_pwr_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c150 if (stream->link->psr_settings.psr_feature_enabled) { in mod_build_vsc_infopacket()
151 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1) in mod_build_vsc_infopacket()
153 else if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in mod_build_vsc_infopacket()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_psr.c96 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) in dmub_psr_set_version()
101 switch (stream->link->psr_settings.psr_version) { in dmub_psr_set_version()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c912 link->psr_settings.psr_frame_capture_indication_req = true; in mod_power_calc_psr_configs()
913 link->psr_settings.psr_sdp_transmit_line_num_deadline = num_vblank_lines; in mod_power_calc_psr_configs()
918 link->psr_settings.psr_frame_capture_indication_req = false; in mod_power_calc_psr_configs()
919 link->psr_settings.psr_sdp_transmit_line_num_deadline = sdp_tx_deadline_in_us / line_time_in_us; in mod_power_calc_psr_configs()
922 psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_deadline; in mod_power_calc_psr_configs()
926 psr_config->psr_frame_capture_indication_req = link->psr_settings.psr_frame_capture_indication_req; in mod_power_calc_psr_configs()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c97 clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active; in clk_mgr_exit_optimized_pwr_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c739 link->psr_settings.psr_vtotal_control_support = false; in construct_phy()
740 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_phy()
821 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in construct_dpia()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link.c1578 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED; in dc_link_construct()
2593 link->psr_settings.psr_allow_active = allow_active; in dc_link_set_psr_allow_active()
2595 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_set_psr_allow_active()
2597 else if ((dmcu != NULL && dmcu->funcs->is_dmcu_initialized(dmcu)) && link->psr_settings.psr_feature_enabled) in dc_link_set_psr_allow_active()
2611 if (psr != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()
2613 else if (dmcu != NULL && link->psr_settings.psr_feature_enabled) in dc_link_get_psr_state()
2784 link->psr_settings.psr_feature_enabled = psr->funcs->psr_copy_settings(psr, link, psr_context); in dc_link_setup_psr()
2786 link->psr_settings.psr_feature_enabled = dmcu->funcs->setup_psr(dmcu, link, psr_context); in dc_link_setup_psr()
2791 if (link->psr_settings.psr_feature_enabled == 0) in dc_link_setup_psr()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c148 if (stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in mod_build_vsc_infopacket()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c97 if (pipe_ctx->stream->link->psr_settings.psr_feature_enabled) in dce60_should_enable_fbc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1007 struct psr_settings { struct
H A Ddc.h1541 struct psr_settings psr_settings; member
H A Ddc_dmub_srv.c897 if ((pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 || in dc_dmub_should_update_cursor_data()
898 pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) && in dc_dmub_should_update_cursor_data()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c4885 if (stream->link->psr_settings.psr_feature_enabled) {
7443 acrtc_state->stream->link->psr_settings.psr_allow_active)
7487 acrtc_state->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED &&
7488 !acrtc_state->stream->link->psr_settings.psr_feature_enabled)
7491 acrtc_state->stream->link->psr_settings.psr_feature_enabled &&
7492 !acrtc_state->stream->link->psr_settings.psr_allow_active) {
9224 link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
9225 link->psr_settings.psr_feature_enabled = false;
9227 link->psr_settings.psr_version = DC_PSR_VERSION_1;
9228 link->psr_settings
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c201 (dc->current_state->streams[i]->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED)) in dcn32_check_no_memory_request_for_cab()
262 dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) in dcn32_apply_idle_power_optimizations()
691 pipe->stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED && in dcn32_update_mall_sel()
H A Ddcn32_resource_helpers.c252 if (pipe->stream && pipe->stream->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED) { in dcn32_is_psr_capable()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c3253 if ((stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 in dc_dmub_should_send_dirty_rect_cmd()
3254 || stream->link->psr_settings.psr_version == DC_PSR_VERSION_1) in dc_dmub_should_send_dirty_rect_cmd()
4686 if (link->psr_settings.psr_feature_enabled) { in dc_set_psr_allow_active()
4687 if (enable && !link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
4691 } else if (!enable && link->psr_settings.psr_allow_active) { in dc_set_psr_allow_active()
5170 if (link->psr_settings.psr_feature_enabled) in dc_notify_vsync_int_state()

Completed in 61 milliseconds

12