Home
last modified time | relevance | path

Searched refs:psr_config (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_psr.c108 struct psr_config psr_config = {0}; in amdgpu_dm_link_setup_psr() local
120 mod_power_calc_psr_configs(&psr_config, link, stream); in amdgpu_dm_link_setup_psr()
123 psr_config.allow_smu_optimizations = in amdgpu_dm_link_setup_psr()
126 psr_config.allow_multi_disp_optimizations = in amdgpu_dm_link_setup_psr()
129 if (!psr_su_set_dsc_slice_height(dc, link, stream, &psr_config)) in amdgpu_dm_link_setup_psr()
132 ret = dc_link_setup_psr(link, stream, &psr_config, &psr_context); in amdgpu_dm_link_setup_psr()
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.h70 void mod_power_calc_psr_configs(struct psr_config *psr_config,
77 struct psr_config *config);
H A Dpower_helpers.c877 void mod_power_calc_psr_configs(struct psr_config *psr_config, in mod_power_calc_psr_configs() argument
910 psr_config->psr_rfb_setup_time = in mod_power_calc_psr_configs()
913 if (psr_config->psr_rfb_setup_time > vblank_time_in_us) { in mod_power_calc_psr_configs()
917 sdp_tx_deadline_in_us = vblank_time_in_us - psr_config->psr_rfb_setup_time; in mod_power_calc_psr_configs()
924psr_config->psr_sdp_transmit_line_num_deadline = link->psr_settings.psr_sdp_transmit_line_num_dead… in mod_power_calc_psr_configs()
925 psr_config->line_time_in_us = line_time_in_us; in mod_power_calc_psr_configs()
926 psr_config->su_y_granularity = dpcd_caps->psr_info.psr2_su_y_granularity_cap; in mod_power_calc_psr_configs()
927psr_config->su_granularity_required = dpcd_caps->psr_info.psr_dpcd_caps.bits.SU_GRANULARITY_REQUIR… 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()
929 psr_config->psr_exit_link_training_required = in mod_power_calc_psr_configs()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c661 const struct dc_stream_state *stream, struct psr_config *psr_config, in edp_setup_psr() argument
694 psr_config->psr_frame_capture_indication_req; in edp_setup_psr()
728 psr_config->su_granularity_required; in edp_setup_psr()
730 psr_config->su_y_granularity; in edp_setup_psr()
731 psr_context->line_time_in_us = psr_config->line_time_in_us; in edp_setup_psr()
737 psr_context->rate_control_caps = psr_config->rate_control_caps; in edp_setup_psr()
774 psr_config->psr_exit_link_training_required; in edp_setup_psr()
776 psr_config->psr_sdp_transmit_line_num_deadline; in edp_setup_psr()
778 psr_config->psr_frame_capture_indication_req; in edp_setup_psr()
817 psr_context->allow_smu_optimizations = psr_config->allow_smu_optimizations; in edp_setup_psr()
[all …]
H A Dlink_edp_panel_control.h49 const struct dc_stream_state *stream, struct psr_config *psr_config,
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h601 struct psr_config { struct