Home
last modified time | relevance | path

Searched refs:plane_descriptors (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c805 …lane_%d: reserved_vblank_time_ns = %u\n", __func__, k, display_cfg->plane_descriptors[k].overrides… in dml2_core_shared_mode_support()
836 if (display_cfg->plane_descriptors[k].composition.scaler_info.enabled == false in dml2_core_shared_mode_support()
837 && (dml2_core_shared_is_420(display_cfg->plane_descriptors[k].pixel_format) in dml2_core_shared_mode_support()
838 || display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_ratio != 1.0 in dml2_core_shared_mode_support()
839 || display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_taps != 1.0 in dml2_core_shared_mode_support()
840 || display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio != 1.0 in dml2_core_shared_mode_support()
841 || display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_taps != 1.0)) { in dml2_core_shared_mode_support()
843 …} else if (display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_taps < 1.0 || displa… in dml2_core_shared_mode_support()
844 …|| display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_taps < 1.0 || display_cfg->p… in dml2_core_shared_mode_support()
845 …|| (display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_taps > 1.0 && (display_cfg-… in dml2_core_shared_mode_support()
[all …]
H A Ddml2_core_utils.c194 …double bpc = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_inde… in dml2_core_utils_get_stream_output_bpp()
195 …if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.ena… in dml2_core_utils_get_stream_output_bpp()
196 …switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.out… in dml2_core_utils_get_stream_output_bpp()
211 …} else if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.… in dml2_core_utils_get_stream_output_bpp()
212 …out_bpp[k] = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_inde… in dml2_core_utils_get_stream_output_bpp()
218 …le=%d\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_in… in dml2_core_utils_get_stream_output_bpp()
497 main_plane = &display_cfg->display_config.plane_descriptors[plane_index]; in dml2_core_utils_expand_implict_subvp()
502 …create_phantom_plane_from_main_plane(&svp_expanded_display_cfg->plane_descriptors[svp_expanded_dis… in dml2_core_utils_expand_implict_subvp()
513 …svp_expanded_display_cfg->plane_descriptors[plane_index].overrides.legacy_svp_config = dml2_svp_mo… in dml2_core_utils_expand_implict_subvp()
H A Ddml2_core_dcn4.c231 main_plane = &display_cfg->display_config.plane_descriptors[plane_index]; in expand_implict_subvp()
236 …create_phantom_plane_from_main_plane(&svp_expanded_display_cfg->plane_descriptors[svp_expanded_dis… in expand_implict_subvp()
247 …svp_expanded_display_cfg->plane_descriptors[plane_index].overrides.legacy_svp_config = dml2_svp_mo… in expand_implict_subvp()
309 main_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
312 …amming[plane_index].plane_descriptor = &programming->display_config.plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
374 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
376 main_plane = &svp_expanded_display_cfg->plane_descriptors[main_plane_index]; in pack_mode_programming_params_with_implicit_subvp()
502 stream_index = l->svp_expanded_display_cfg.plane_descriptors[i].stream_index; in core_dcn4_mode_support()
574 …if (in_out->programming->display_config.plane_descriptors[plane_index].overrides.legacy_svp_config… in core_dcn4_mode_programming()
576 …else if (in_out->programming->display_config.plane_descriptors[plane_index].overrides.legacy_svp_c… in core_dcn4_mode_programming()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn3.c26 plane_descriptor = &config->display_config.plane_descriptors[i]; in get_max_reserved_time_on_all_planes_with_stream_index()
42 plane_descriptor = &config->display_config.plane_descriptors[i]; in set_reserved_time_on_all_planes_with_stream_index()
89 …fg_support_info->stream_support_info[in_out->optimized_display_cfg->plane_descriptors[i].stream_in… in optimize_dcc_mcache_no_odm()
90 in_out->optimized_display_cfg->plane_descriptors[i].overrides.mpcc_combine_factor = in optimize_dcc_mcache_no_odm()
94 …if (!increase_mpc_combine_factor(&in_out->optimized_display_cfg->plane_descriptors[i].overrides.mp… in optimize_dcc_mcache_no_odm()
189 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index()
305 …mode_support_result->cfg_support_info.stream_support_info[display_config->plane_descriptors[i].str… in pmo_dcn3_init_for_vmin()
306 …in_out->base_display_config->stage4.unoptimizable_streams[display_config->plane_descriptors[i].str… in pmo_dcn3_init_for_vmin()
540 plane_descriptor = &in_out->base_display_config->display_config.plane_descriptors[plane_index]; in pmo_dcn3_init_for_pstate_support()
652 stream_index = in_out->base_display_config->display_config.plane_descriptors[i].stream_index; in pmo_dcn3_test_for_pstate_support()
[all …]
H A Ddml2_pmo_dcn4_fams2.c237 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index()
258 …fg_support_info->stream_support_info[in_out->optimized_display_cfg->plane_descriptors[i].stream_in… in optimize_dcc_mcache_no_odm()
259 in_out->optimized_display_cfg->plane_descriptors[i].overrides.mpcc_combine_factor = in optimize_dcc_mcache_no_odm()
263 …if (!increase_mpc_combine_factor(&in_out->optimized_display_cfg->plane_descriptors[i].overrides.mp… in optimize_dcc_mcache_no_odm()
739 …mode_support_result->cfg_support_info.stream_support_info[display_config->plane_descriptors[i].str… in pmo_dcn4_fams2_init_for_vmin()
740 state->unoptimizable_streams[display_config->plane_descriptors[i].stream_index] = true; in pmo_dcn4_fams2_init_for_vmin()
1059 plane_descriptor = &display_config->display_config.plane_descriptors[i]; in all_timings_support_svp()
1125 …if (display_cfg->display_config.plane_descriptors[i].overrides.uclk_pstate_change_strategy != dml2… in all_planes_match_method()
1126 …display_cfg->display_config.plane_descriptors[i].overrides.uclk_pstate_change_strategy != matching… in all_planes_match_method()
1762 plane_descriptor = &display_config->display_config.plane_descriptors[plane_index]; in pmo_dcn4_fams2_init_for_pstate_support()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
H A Ddml_top_mcache.c223 if (!params->display_cfg->plane_descriptors[plane_index].surface.dcc.enable) in dml2_top_mcache_validate_admissability()
226 plane = &params->display_cfg->plane_descriptors[plane_index]; in dml2_top_mcache_validate_admissability()
520 if (!params->display_config->plane_descriptors[i].surface.dcc.enable) { in dml2_top_mcache_calc_mcache_count_and_offsets()
525 l->calc_mcache_params.plane_descriptor = &params->display_config->plane_descriptors[i]; in dml2_top_mcache_calc_mcache_count_and_offsets()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_display_cfg_types.h437 struct dml2_plane_parameters plane_descriptors[DML2_MAX_PLANES]; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
H A Ddml2_dpmm_dcn4.c480 …if (in_out->programming->display_config.plane_descriptors->overrides.legacy_svp_config != dml2_svp… in get_displays_with_fams_mask()