Home
last modified time | relevance | path

Searched refs:odm_combine_factor (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.c316 unsigned int odm_combine_factor = 0; in dcn314_calculate_dccg_k1_k2_values() local
320 odm_combine_factor = get_odm_config(pipe_ctx, NULL); in dcn314_calculate_dccg_k1_k2_values()
338 if (odm_combine_factor == 2) in dcn314_calculate_dccg_k1_k2_values()
346 return odm_combine_factor; in dcn314_calculate_dccg_k1_k2_values()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
H A Ddml2_top_soc15.c519 unsigned int odm_combine_factor; in dml2_top_mcache_validate_admissability() local
538 …num_dpps = odm_combine_factor = params->cfg_support_info->stream_support_info[plane->stream_index]… in dml2_top_mcache_validate_admissability()
540 if (odm_combine_factor == 1) in dml2_top_mcache_validate_admissability()
545 if (odm_combine_factor > 1) { in dml2_top_mcache_validate_admissability()
547 …ceil(plane->composition.scaler_info.plane0.h_ratio * stream->timing.h_active / odm_combine_factor); in dml2_top_mcache_validate_admissability()
553 …ceil(plane->composition.scaler_info.plane1.h_ratio * stream->timing.h_active / odm_combine_factor); in dml2_top_mcache_validate_admissability()
582 if (odm_combine_factor > 1) { in dml2_top_mcache_validate_admissability()
583 num_dpps = odm_combine_factor; in dml2_top_mcache_validate_admissability()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml_display_rq_dlg_calc.c296 dml_uint_t odm_combine_factor = (odm_mode == dml_odm_mode_combine_2to1 ? 2 : 4); in dml_rq_dlg_get_dlg_reg() local
307 …oat_t) pipe_idx_in_combine * (dml_float_t) hactive / (dml_float_t) odm_combine_factor) * ref_freq_… in dml_rq_dlg_get_dlg_reg()
311 dml_print("DML_DLG: %s: odm_combine_factor = %d\n", __func__, odm_combine_factor); in dml_rq_dlg_get_dlg_reg()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_rq_dlg_calc_32.c338 unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); in dml32_rq_dlg_get_dlg_reg() local
342 + odm_pipe_index * (double) dst->hactive / odm_combine_factor) * ref_freq_to_pix_freq); in dml32_rq_dlg_get_dlg_reg()
/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl_types.h461 int odm_combine_factor; // deprecated member
H A Ddc_spl.c222 int odm_slice_count = spl_in->basic_out.odm_combine_factor; in calculate_odm_slice_in_timing_active()
230 if (spl_in->basic_out.odm_combine_factor > 0) { in calculate_odm_slice_in_timing_active()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_spl_translate.c128 spl_in->basic_out.odm_combine_factor = 0; in translate_SPL_in_params_from_pipe_ctx()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1180 unsigned int odm_combine_factor = 0; in dcn32_calculate_dccg_k1_k2_values() local
1184 odm_combine_factor = get_odm_config(pipe_ctx, NULL); in dcn32_calculate_dccg_k1_k2_values()
1202 if ((odm_combine_factor == 2) || dcn32_is_dp_dig_pixel_rate_div_policy(pipe_ctx)) in dcn32_calculate_dccg_k1_k2_values()
1210 return odm_combine_factor; in dcn32_calculate_dccg_k1_k2_values()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c1212 …unsigned int odm_combine_factor = (dst->odm_combine == dm_odm_combine_mode_2to1 ? 2 : 4); // TOD… in dml_rq_dlg_get_dlg_params() local
1214 …t)(((double) hblank_end + odm_pipe_index * (double) dst->hactive / odm_combine_factor) * ref_freq_… in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h1429 unsigned int odm_combine_factor; member
H A Ddml2_core_shared.c11668 l->odm_combine_factor = 2; in rq_dlg_get_dlg_reg()
11671 l->odm_combine_factor = 3; in rq_dlg_get_dlg_reg()
11673 l->odm_combine_factor = 4; in rq_dlg_get_dlg_reg()
11684 …+ (double)l->pipe_idx_in_combine * (double)l->hactive / (double)l->odm_combine_factor) * l->ref_fr… in rq_dlg_get_dlg_reg()
11688 dml2_printf("DML_DLG: %s: odm_combine_factor = %d\n", __func__, l->odm_combine_factor); in rq_dlg_get_dlg_reg()
H A Ddml2_core_dcn4_calcs.c12429 l->odm_combine_factor = 2; in rq_dlg_get_dlg_reg()
12432 l->odm_combine_factor = 3; in rq_dlg_get_dlg_reg()
12434 l->odm_combine_factor = 4; in rq_dlg_get_dlg_reg()
12445 …+ (double)l->pipe_idx_in_combine * (double)l->hactive / (double)l->odm_combine_factor) * l->ref_fr… in rq_dlg_get_dlg_reg()
12449 dml2_printf("DML_DLG: %s: odm_combine_factor = %d\n", __func__, l->odm_combine_factor); in rq_dlg_get_dlg_reg()