Home
last modified time | relevance | path

Searched refs:odm_mode (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
Ddml2_pmo_dcn3.c144 static bool increase_odm_combine_factor(enum dml2_odm_mode *odm_mode, int odms_calculated) in increase_odm_combine_factor() argument
148 if (*odm_mode == dml2_odm_mode_auto) { in increase_odm_combine_factor()
151 *odm_mode = dml2_odm_mode_bypass; in increase_odm_combine_factor()
154 *odm_mode = dml2_odm_mode_combine_2to1; in increase_odm_combine_factor()
157 *odm_mode = dml2_odm_mode_combine_3to1; in increase_odm_combine_factor()
160 *odm_mode = dml2_odm_mode_combine_4to1; in increase_odm_combine_factor()
169 if (*odm_mode == dml2_odm_mode_bypass) { in increase_odm_combine_factor()
170 *odm_mode = dml2_odm_mode_combine_2to1; in increase_odm_combine_factor()
171 } else if (*odm_mode == dml2_odm_mode_combine_2to1) { in increase_odm_combine_factor()
172 *odm_mode = dml2_odm_mode_combine_3to1; in increase_odm_combine_factor()
[all …]
Ddml2_pmo_dcn4_fams2.c182 static bool increase_odm_combine_factor(enum dml2_odm_mode *odm_mode, int odms_calculated) in increase_odm_combine_factor() argument
186 if (*odm_mode == dml2_odm_mode_auto) { in increase_odm_combine_factor()
189 *odm_mode = dml2_odm_mode_bypass; in increase_odm_combine_factor()
192 *odm_mode = dml2_odm_mode_combine_2to1; in increase_odm_combine_factor()
195 *odm_mode = dml2_odm_mode_combine_3to1; in increase_odm_combine_factor()
198 *odm_mode = dml2_odm_mode_combine_4to1; in increase_odm_combine_factor()
207 if (*odm_mode == dml2_odm_mode_bypass) { in increase_odm_combine_factor()
208 *odm_mode = dml2_odm_mode_combine_2to1; in increase_odm_combine_factor()
209 } else if (*odm_mode == dml2_odm_mode_combine_2to1) { in increase_odm_combine_factor()
210 *odm_mode = dml2_odm_mode_combine_3to1; in increase_odm_combine_factor()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml_display_rq_dlg_calc.c209 enum dml_odm_mode odm_mode = hw->ODMMode[plane_idx]; in dml_rq_dlg_get_dlg_reg() local
289 if (odm_mode == dml_odm_mode_bypass) { in dml_rq_dlg_get_dlg_reg()
291 } else if (odm_mode == dml_odm_mode_combine_2to1 || odm_mode == dml_odm_mode_combine_4to1) { in dml_rq_dlg_get_dlg_reg()
296 dml_uint_t odm_combine_factor = (odm_mode == dml_odm_mode_combine_2to1 ? 2 : 4); in dml_rq_dlg_get_dlg_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_utils.h37 bool dml2_core_utils_is_odm_split(enum dml2_odm_mode odm_mode);
Ddml2_core_utils.c616 bool dml2_core_utils_is_odm_split(enum dml2_odm_mode odm_mode) in dml2_core_utils_is_odm_split() argument
618 switch (odm_mode) { in dml2_core_utils_is_odm_split()
Ddml2_core_shared.c1191 …display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode, in dml2_core_shared_mode_support()
1208 …display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode, in dml2_core_shared_mode_support()
1466 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml2_core_shared_mode_support()
1467 …errides.odm_mode == dml2_odm_mode_mso_1to2 || display_cfg->stream_descriptors[display_cfg->plane_d… in dml2_core_shared_mode_support()
1470 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml2_core_shared_mode_support()
1471 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml2_core_shared_mode_support()
11620 l->odm_mode = dml2_odm_mode_bypass; in rq_dlg_get_dlg_reg()
11635 l->odm_mode = mode_lib->mp.ODMMode[l->plane_idx]; in rq_dlg_get_dlg_reg()
11661 if (l->odm_mode == dml2_odm_mode_bypass) { in rq_dlg_get_dlg_reg()
11663 …} else if (l->odm_mode == dml2_odm_mode_combine_2to1 || l->odm_mode == dml2_odm_mode_combine_3to1 … in rq_dlg_get_dlg_reg()
[all …]
Ddml2_core_shared_types.h1388 enum dml2_odm_mode odm_mode; member
Ddml2_core_dcn4_calcs.c7496 …display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode, in dml_core_mode_support()
7515 …display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode, in dml_core_mode_support()
7796 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml_core_mode_support()
7797 …errides.odm_mode == dml2_odm_mode_mso_1to2 || display_cfg->stream_descriptors[display_cfg->plane_d… in dml_core_mode_support()
7800 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml_core_mode_support()
7801 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].overrides.odm_mode == dml2_odm_mode_… in dml_core_mode_support()
11936 l->odm_mode = dml2_odm_mode_bypass; in rq_dlg_get_dlg_reg()
11951 l->odm_mode = mode_lib->mp.ODMMode[l->plane_idx]; in rq_dlg_get_dlg_reg()
11979 if (l->odm_mode == dml2_odm_mode_bypass) { in rq_dlg_get_dlg_reg()
11981 …} else if (l->odm_mode == dml2_odm_mode_combine_2to1 || l->odm_mode == dml2_odm_mode_combine_3to1 … in rq_dlg_get_dlg_reg()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c498 stream_desc->overrides.odm_mode = dml2_odm_mode_auto; in populate_dml21_stream_overrides_from_stream_state()
501 stream_desc->overrides.odm_mode = dml2_odm_mode_bypass; in populate_dml21_stream_overrides_from_stream_state()
504 stream_desc->overrides.odm_mode = dml2_odm_mode_combine_2to1; in populate_dml21_stream_overrides_from_stream_state()
507 stream_desc->overrides.odm_mode = dml2_odm_mode_combine_3to1; in populate_dml21_stream_overrides_from_stream_state()
510 stream_desc->overrides.odm_mode = dml2_odm_mode_combine_4to1; in populate_dml21_stream_overrides_from_stream_state()
513 stream_desc->overrides.odm_mode = dml2_odm_mode_auto; in populate_dml21_stream_overrides_from_stream_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_display_cfg_types.h410 enum dml2_odm_mode odm_mode; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h140 uint8_t odm_mode; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn20/
Ddcn20_optc.c492 OTG_CRC_DATA_STREAM_COMBINE_MODE, params->odm_mode); in optc2_configure_crc()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc.c673 param.odm_mode = pipe->next_odm_pipe ? 1:0; in dc_stream_configure_crc()