Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c38 double math_max2(const double arg1, const double arg2) in math_max2() function
71 return v3 > math_max2(v1, v2) ? v3 : math_max2(v1, v2); in math_max3()
81 return math_max3(v1, v2, v3) > math_max2(v4, v5) ? math_max3(v1, v2, v3) : math_max2(v4, v5); in math_max5()
H A Dlib_float_math.h10 double math_max2(const double arg1, const double arg2);
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c812 *DPPCLKUsingSingleDPP = math_max2(DPPCLKUsingSingleDPPLuma, DPPCLKUsingSingleDPPChroma); in CalculateSinglePipeDPPCLKAndSCLThroughput()
1047 …DETBufferSizeInKByte[0] = (unsigned int)math_max2(128.0, math_ceil2(2.0 * ((double)full_swath_byte… in CalculateDETBufferSize()
1076 …l->minDET_pipe = (unsigned int)(math_max2(128, math_ceil2(((double)full_swath_bytes_l[k] + (double… in CalculateDETBufferSize()
1259 DispClk = math_max2(DispClk, TMDS420MinPixClock); in CalculateRequiredDispclk()
1577 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 1); in CalculateHostVMDynamicLevels()
1579 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 2); in CalculateHostVMDynamicLevels()
1880 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines()
1884 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines()
1886 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % Sw… in CalculatePrefetchSourceLines()
2362 …*p->dcc_dram_bw_nom_overhead_factor = 1 + math_max2(1.0 / 256.0, math_ceil2(meta_per_mvmpg_per_cha… in calculate_mcache_row_bytes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn4_fams2.c1751 math_max2(0.0, in build_pstate_meta_per_stream()
1752 …timing->v_active - math_max2(1.0, stream_pstate_meta->min_allow_width_otg_vlines) - stream_pstate_… in build_pstate_meta_per_stream()
2058 …plane->overrides.reserved_vblank_time_ns = (long)math_max2(pmo->soc_bb->power_management_parameter… in setup_planes_for_vblank_by_mask()
2381 …(long)math_max2(pmo->scratch.pmo_dcn4.optimal_vblank_reserved_time_for_stutter_us[pmo->scratch.pmo… in pmo_dcn4_fams2_optimize_for_stutter()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/
H A Ddml2_dpmm_dcn4.c262 …pll_frequency_khz = (unsigned long) math_max2(600000, math_ceil2(math_max3(dispclk_khz, dpprefclk_… in round_to_non_dfs_granularity()
635 …dispclk_khz = math_max2(dispclk_khz, mode_support_result->global.dispclk_khz * (1 + in_out->soc_bb… in map_mode_to_soc_dpm()