Home
last modified time | relevance | path

Searched refs:math_min2 (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.h9 double math_min2(const double arg1, const double arg2);
H A Dlib_float_math.c29 double math_min2(const double arg1, const double arg2) in math_min2() function
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
H A Ddml2_dpmm_dcn4.c245 …*rounded_dispclk_khz = pll_frequency_khz / (unsigned long) math_min2(pll_frequency_khz / dispclk_k… in round_to_non_dfs_granularity()
247 …*rounded_dpprefclk_khz = pll_frequency_khz / (unsigned long) math_min2(pll_frequency_khz / dpprefc… in round_to_non_dfs_granularity()
250 …*rounded_dtbrefclk_khz = pll_frequency_khz / (unsigned long) math_min2(pll_frequency_khz / dtbrefc… in round_to_non_dfs_granularity()
617 dispclk_khz = math_min2(dispclk_khz, in_out->min_clk_table->max_clocks_khz.dispclk); in map_mode_to_soc_dpm()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_utils.c595 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
598 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
H A Ddml2_core_dcn4_calcs.c802 *PSCL_THROUGHPUT = math_min2(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput); in CalculateSinglePipeDPPCLKAndSCLThroughput()
1246 l->NextDETBufferPieceInKByte = (unsigned int)(math_min2( in CalculateDETBufferSize()
2771 return_bw_mbps = math_min2(derate_sdp_bandwidth, derate_fabric_bandwidth); in dml_get_return_bandwidth_available()
3727 vblank_size = (unsigned int)math_min2(vblank_actual, vblank_avail); in CalculateMaxVStartup()
4621 math_min2(math_ceil2((double)surface->plane0.height, ReadBlockHeightY[k]), in CalculateSurfaceSizeInMall()
4627 math_min2(math_ceil2((double)surface->plane1.width, ReadBlockWidthC[k]), in CalculateSurfaceSizeInMall()
4630 math_min2(math_ceil2((double)surface->plane1.height, ReadBlockHeightC[k]), in CalculateSurfaceSizeInMall()
5991 num_lb_source_lines = (unsigned int) math_min2((double) max_line_buffer_lines, in get_num_lb_source_lines()
6578 l->min_row_height = math_min2(dpte_row_height, meta_row_height); in CalculateFlipSchedule()
6590 l->min_row_height = math_min2(dpte_row_height, meta_row_height); in CalculateFlipSchedule()
[all …]
H A Ddml2_core_dcn4.c176 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
179 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn4_fams2.c1423 max_allow_time_us = math_min2( in is_config_schedulable()