Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c607 surface->plane0.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
608 surface->plane0.height = stream->timing.v_addressable; in populate_dml21_dummy_surface_cfg()
611 surface->plane0.pitch = ((surface->plane0.width + 127) / 128) * 128; in populate_dml21_dummy_surface_cfg()
640 plane->composition.viewport.plane0.width = width; in populate_dml21_dummy_plane_cfg()
641 plane->composition.viewport.plane0.height = height; in populate_dml21_dummy_plane_cfg()
646 plane->composition.viewport.plane0.x_start = 0; in populate_dml21_dummy_plane_cfg()
647 plane->composition.viewport.plane0.y_start = 0; in populate_dml21_dummy_plane_cfg()
653 plane->composition.scaler_info.plane0.h_ratio = 1.0; in populate_dml21_dummy_plane_cfg()
654 plane->composition.scaler_info.plane0.v_ratio = 1.0; in populate_dml21_dummy_plane_cfg()
657 plane->composition.scaler_info.plane0.h_taps = 1; in populate_dml21_dummy_plane_cfg()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
Ddml_top_mcache.c237 max_per_pipe_vp_p0 = plane->surface.plane0.width; in dml2_top_mcache_validate_admissability()
238 …temp = (unsigned int)math_ceil(plane->composition.scaler_info.plane0.h_ratio * stream->timing.h_ac… in dml2_top_mcache_validate_admissability()
249 max_per_pipe_vp_p0 = plane->surface.plane0.width / mpc_combine_factor; in dml2_top_mcache_validate_admissability()
283 calculate_h_split_for_scaling_transform(plane->surface.plane0.width, in dml2_top_mcache_validate_admissability()
285 &l->plane0.pipe_vp_startx[plane_index], &l->plane0.pipe_vp_endx[plane_index]); in dml2_top_mcache_validate_admissability()
288 &l->plane0.pipe_vp_startx[plane_index], &l->plane0.pipe_vp_endx[plane_index], num_dpps, in dml2_top_mcache_validate_admissability()
296 &l->plane0.pipe_vp_startx[plane_index], &l->plane0.pipe_vp_endx[plane_index]); in dml2_top_mcache_validate_admissability()
362 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_x_star… in dml2_top_mcache_build_mcache_programming()
363 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_x_star… in dml2_top_mcache_build_mcache_programming()
364 …params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_width … in dml2_top_mcache_build_mcache_programming()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_display_cfg_types.h173 } plane0; member
186 } plane0; member
214 } plane0; member
231 } plane0; member
487 } plane0; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c838 || 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 …ptors[k].composition.scaler_info.plane0.v_taps < 1.0 || display_cfg->plane_descriptors[k].composit… in dml2_core_shared_mode_support()
844 …ptors[k].composition.scaler_info.plane0.h_taps < 1.0 || display_cfg->plane_descriptors[k].composit… in dml2_core_shared_mode_support()
845 …tors[k].composition.scaler_info.plane0.h_taps > 1.0 && (display_cfg->plane_descriptors[k].composit… in dml2_core_shared_mode_support()
846 …|| display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_ratio > mode_lib->ip.max_hsc… in dml2_core_shared_mode_support()
847 …|| display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio > mode_lib->ip.max_vsc… in dml2_core_shared_mode_support()
848 …criptors[k].composition.scaler_info.plane0.h_ratio > display_cfg->plane_descriptors[k].composition… in dml2_core_shared_mode_support()
[all …]
Ddml2_core_dcn4_calcs.c847 …hSingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.plane0.width; in CalculateSwathWidth()
849 …SingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.plane0.height; in CalculateSwathWidth()
853 …portWidth=%u\n", __func__, k, display_cfg->plane_descriptors[k].composition.viewport.plane0.width); in CalculateSwathWidth()
854 …rtHeight=%u\n", __func__, k, display_cfg->plane_descriptors[k].composition.viewport.plane0.height); in CalculateSwathWidth()
871 …/ odm_hactive_factor * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_ratio))); in CalculateSwathWidth()
881 …atio=%f\n", __func__, k, display_cfg->plane_descriptors[k].composition.scaler_info.plane0.h_ratio); in CalculateSwathWidth()
909 …nsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.plane0.width, req_width_h… in CalculateSwathWidth()
910 …nsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.plane0.height, Read256Byt… in CalculateSwathWidth()
937 …t.plane0.x_start + SwathWidthY[k] + req_width_horz_y - 1, req_width_horz_y) - math_floor2(display_… in CalculateSwathWidth()
958plane0.y_start + SwathWidthY[k] + Read256BytesBlockHeightY[k] - 1, Read256BytesBlockHeightY[k]) - … in CalculateSwathWidth()
[all …]
Ddml2_core_utils.c440 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
441 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
442 (double)main->composition.viewport.plane0.height); in create_phantom_plane_from_main_plane()
Ddml2_core_dcn4.c174 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
175 …(double)main->composition.scaler_info.plane0.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
176 (double)main->composition.viewport.plane0.height); in create_phantom_plane_from_main_plane()
640 …n_out->mcache_allocation->num_mcaches_plane0 - 1] = in_out->plane_descriptor->surface.plane0.width; in core_dcn4_calculate_mcache_allocation()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/
Ddml2_internal_shared_types.h956 } plane0; member