Home
last modified time | relevance | path

Searched refs:plane1 (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c390 surface->plane1.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
391 surface->plane1.height = stream->timing.v_addressable;
393 surface->plane1.pitch = 0; in populate_dml21_dummy_plane_cfg()
425 plane->composition.viewport.plane1.width = 0; in populate_dml21_dummy_plane_cfg()
426 plane->composition.viewport.plane1.height = 0; in populate_dml21_dummy_plane_cfg()
431 plane->composition.viewport.plane1.x_start = 0; in populate_dml21_dummy_plane_cfg()
432 plane->composition.viewport.plane1.y_start = 0; in populate_dml21_dummy_plane_cfg()
438 plane->composition.scaler_info.plane1.h_ratio = 0; in populate_dml21_dummy_plane_cfg()
439 plane->composition.scaler_info.plane1.v_ratio = 0; in populate_dml21_dummy_plane_cfg()
442 plane->composition.scaler_info.plane1
[all...]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/
H A Ddml_top_display_cfg_types.h192 } plane1; member
201 } plane1; member
233 } plane1; member
255 } plane1; member
512 } plane1; member
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/
H A Ddml2_top_soc15.c554 max_per_pipe_vp_p1 = plane->surface.plane1.width; in dml2_top_mcache_validate_admissability()
555 temp = (unsigned int)math_ceil(plane->composition.scaler_info.plane1.h_ratio * stream->timing.h_active / odm_combine_factor); in dml2_top_mcache_validate_admissability()
561 max_per_pipe_vp_p1 = plane->surface.plane1.width / mpc_combine_factor; in dml2_top_mcache_validate_admissability()
605 calculate_h_split_for_scaling_transform(plane->surface.plane1.width, in dml2_top_mcache_validate_admissability()
610 &l->plane1.pipe_vp_startx[plane_index], &l->plane1.pipe_vp_endx[plane_index], num_dpps, in dml2_top_mcache_validate_admissability()
1100 params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane1.viewport_x_start, in dml2_top_soc15_build_mcache_programming()
1101 params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane1.viewport_x_start + in dml2_top_soc15_build_mcache_programming()
1102 params->mcache_configurations[config_index].pipe_configurations[pipe_index].plane1.viewport_width - 1, in dml2_top_soc15_build_mcache_programming()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c919 surface_width_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.plane1.width, req_width_horz_c); in CalculateSwathWidth()
920 surface_height_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.plane1.height, Read256BytesBlockHeightC[k]); in CalculateSwathWidth()
951 swath_width_chroma_ub[k] = (unsigned int)(math_min2(surface_width_ub_c, math_floor2(display_cfg->plane_descriptors[k].composition.viewport.plane1.y_start + SwathWidthC[k] + req_width_horz_c - 1, req_width_horz_c) - math_floor2(display_cfg->plane_descriptors[k].composition.viewport.plane1.y_start, req_width_horz_c))); in CalculateSwathWidth()
971 swath_width_chroma_ub[k] = (unsigned int)(math_min2(surface_height_ub_c, math_floor2(display_cfg->plane_descriptors[k].composition.viewport.plane1.y_start + SwathWidthC[k] + Read256BytesBlockHeightC[k] - 1, Read256BytesBlockHeightC[k]) - math_floor2(display_cfg->plane_descriptors[k].composition.viewport.plane1.y_start, Read256BytesBlockHeightC[k]))); in CalculateSwathWidth()
3569 if (display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_ratio <= 1) { in CalculateDCFCLKDeepSleepTdlut()
3570 DisplayPipeLineDeliveryTimeChroma = SwathWidthC[k] * DPPPerSurface[k] / display_cfg->plane_descriptors[k].composition.scaler_info.plane1.h_ratio / pixel_rate_mhz; in CalculateDCFCLKDeepSleepTdlut()
3927 DML_LOG_VERBOSE("DML::%s: k=%u, Half DET will be used for plane0, and half for plane1\n", __func__, k); in CalculateSwathAndDETConfiguration()
3933 DML_LOG_VERBOSE("DML::%s: k=%u, 2/3 DET will be used for plane0, and 1/3 for plane1\ in CalculateSwathAndDETConfiguration()
[all...]
H A Ddml2_core_utils.c600 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
601 …(double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16… in create_phantom_plane_from_main_plane()
602 (double)main->composition.viewport.plane1.height); in create_phantom_plane_from_main_plane()
H A Ddml2_core_dcn4.c294 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
295 (double)main->composition.scaler_info.plane1.v_ratio * (double)phantom_stream->timing.v_active, 16.0), in create_phantom_plane_from_main_plane()
296 (double)main->composition.viewport.plane1.height); in create_phantom_plane_from_main_plane()
770 in_out->mcache_allocation->mcache_x_offsets_plane1[in_out->mcache_allocation->num_mcaches_plane1 - 1] = in_out->plane_descriptor->surface.plane1.width; in core_dcn4_calculate_mcache_allocation()