Home
last modified time | relevance | path

Searched refs:dcn_bw_ceil2 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c75 …v->acceptable_quality_hta_ps =dcn_bw_min2(v->max_hscl_taps, 2.0 *dcn_bw_ceil2(v->h_ratio[k], 1.0)); in scaler_settings_calculation()
90 …v->acceptable_quality_vta_ps =dcn_bw_min2(v->max_vscl_taps, 2.0 *dcn_bw_ceil2(v->v_ratio[k], 1.0)); in scaler_settings_calculation()
176 …k] = v->swath_width_ysingle_dpp[k] * (dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) * v->v_ratio… in mode_support_and_system_configuration()
430dcn_bw_ceil2((v->vtaps[k] +dcn_bw_max2(dcn_bw_ceil2(v->v_ratio[k], 1.0) - 2, 0.0)) * v->swath_widt… in mode_support_and_system_configuration()
624 …v->meta_pte_bytes_per_frame_y = (dcn_bw_ceil2((v->meta_surface_width_y * v->meta_surface_height_y … in mode_support_and_system_configuration()
684 …v->meta_pte_bytes_per_frame_c = (dcn_bw_ceil2((v->meta_surface_width_c * v->meta_surface_height_c … in mode_support_and_system_configuration()
785 v->v_update_offset[k][j] = dcn_bw_ceil2(v->htotal[k] / 4.0, 1.0); in mode_support_and_system_configuration()
1475 …v->meta_pte_bytes_frame_y = (dcn_bw_ceil2((v->meta_surf_width_y * v->meta_surf_height_y *dcn_bw_ce… in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
1534 …v->meta_pte_bytes_frame_c = (dcn_bw_ceil2((v->meta_surf_width_c * v->meta_surf_height_c *dcn_bw_ce… in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
1597 …v->max_num_swath_y[k] =dcn_bw_ceil2((v->v_init_pre_fill_y[k] - 1.0) / v->swath_height_y[k], 1.0) +… in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
[all …]
H A Ddcn_calc_math.c87 float dcn_bw_ceil2(const float arg, const float significance) in dcn_bw_ceil2() function
H A Ddcn_calcs.c1113dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k]; in dcn_validate_bandwidth()
1115dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k] … in dcn_validate_bandwidth()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h69 return (double) dcn_bw_ceil2(a, granularity); in dml_ceil()
112 return (double) dcn_bw_ceil2(f, 2); in dml_ceil_2()
117 return (double) dcn_bw_ceil2(x, granularity); in dml_ceil_ex()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calc_math.h35 float dcn_bw_ceil2(const float arg, const float significance);