Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
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 …]
Ddml2_core_dcn4_calcs.c155 …double bpc = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_inde… in get_stream_output_bpp()
156 …if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.ena… in get_stream_output_bpp()
157 …switch (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].output.out… in get_stream_output_bpp()
172 …} else if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.… in get_stream_output_bpp()
173 …out_bpp[k] = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_inde… in get_stream_output_bpp()
179 …le=%d\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_in… in get_stream_output_bpp()
248 bool is_phantom = dml_is_phantom_pipe(&display_cfg->plane_descriptors[plane_idx]); in dml_get_is_phantom_pipe()
249 …y_svp_config=%0d is_phantom=%d\n", __func__, pipe_idx, display_cfg->plane_descriptors[plane_idx].o… in dml_get_is_phantom_pipe()
434 …PixelClockBackEnd[k] = ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].… in PixelClockAdjustmentForProgressiveToInterlaceUnit()
435 …if (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.interla… in PixelClockAdjustmentForProgressiveToInterlaceUnit()
[all …]
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()
496 main_plane = &display_cfg->display_config.plane_descriptors[plane_index]; in dml2_core_utils_expand_implict_subvp()
501 …create_phantom_plane_from_main_plane(&svp_expanded_display_cfg->plane_descriptors[svp_expanded_dis… in dml2_core_utils_expand_implict_subvp()
512 …svp_expanded_display_cfg->plane_descriptors[plane_index].overrides.legacy_svp_config = dml2_svp_mo… in dml2_core_utils_expand_implict_subvp()
Ddml2_core_dcn4.c230 main_plane = &display_cfg->display_config.plane_descriptors[plane_index]; in expand_implict_subvp()
235 …create_phantom_plane_from_main_plane(&svp_expanded_display_cfg->plane_descriptors[svp_expanded_dis… in expand_implict_subvp()
246 …svp_expanded_display_cfg->plane_descriptors[plane_index].overrides.legacy_svp_config = dml2_svp_mo… in expand_implict_subvp()
308 main_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
311 …amming[plane_index].plane_descriptor = &programming->display_config.plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
373 phantom_plane = &svp_expanded_display_cfg->plane_descriptors[plane_index]; in pack_mode_programming_params_with_implicit_subvp()
375 main_plane = &svp_expanded_display_cfg->plane_descriptors[main_plane_index]; in pack_mode_programming_params_with_implicit_subvp()
501 stream_index = l->svp_expanded_display_cfg.plane_descriptors[i].stream_index; in core_dcn4_mode_support()
573 …if (in_out->programming->display_config.plane_descriptors[plane_index].overrides.legacy_svp_config… in core_dcn4_mode_programming()
575 …else if (in_out->programming->display_config.plane_descriptors[plane_index].overrides.legacy_svp_c… in core_dcn4_mode_programming()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
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 …]
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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c988 …populate_dml21_dummy_surface_cfg(&dml_dispcfg->plane_descriptors[disp_cfg_plane_location].surface,… in dml21_map_dc_state_into_dml_display_cfg()
989 …populate_dml21_dummy_plane_cfg(&dml_dispcfg->plane_descriptors[disp_cfg_plane_location], context->… in dml21_map_dc_state_into_dml_display_cfg()
990 dml_dispcfg->plane_descriptors[disp_cfg_plane_location].stream_index = disp_cfg_stream_location; in dml21_map_dc_state_into_dml_display_cfg()
1000 …populate_dml21_surface_config_from_plane_state(in_dc, &dml_dispcfg->plane_descriptors[disp_cfg_pla… in dml21_map_dc_state_into_dml_display_cfg()
1001 …populate_dml21_plane_config_from_plane_state(dml_ctx, &dml_dispcfg->plane_descriptors[disp_cfg_pla… in dml21_map_dc_state_into_dml_display_cfg()
1002 dml_dispcfg->plane_descriptors[disp_cfg_plane_location].stream_index = disp_cfg_stream_location; in dml21_map_dc_state_into_dml_display_cfg()
1009 dml_dispcfg->plane_descriptors[disp_cfg_plane_location].overrides.uclk_pstate_change_strategy = in dml21_map_dc_state_into_dml_display_cfg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_display_cfg_types.h437 struct dml2_plane_parameters plane_descriptors[DML2_MAX_PLANES]; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
Ddml2_dpmm_dcn4.c480 …if (in_out->programming->display_config.plane_descriptors->overrides.legacy_svp_config != dml2_svp… in get_displays_with_fams_mask()