Searched refs:math_max2 (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/ |
D | lib_float_math.c | 38 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()
|
D | lib_float_math.h | 10 double math_max2(const double arg1, const double arg2);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4_calcs.c | 800 *DPPCLKUsingSingleDPP = math_max2(DPPCLKUsingSingleDPPLuma, DPPCLKUsingSingleDPPChroma); in CalculateSinglePipeDPPCLKAndSCLThroughput() 1050 …DETBufferSizeInKByte[0] = (unsigned int)math_max2(128.0, math_ceil2(2.0 * ((double)full_swath_byte… in CalculateDETBufferSize() 1081 …l->minDET_pipe = (unsigned int)(math_max2(128, math_ceil2(((double)full_swath_bytes_l[k] + (double… in CalculateDETBufferSize() 1600 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 1); in CalculateHostVMDynamicLevels() 1602 HostVMDynamicLevels = (unsigned int)math_max2(0, (double)HostVMMaxNonCachedPageTableLevels - 2); in CalculateHostVMDynamicLevels() 1909 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(vp_start_rot + *VInitPreFill - 1) % S… in CalculatePrefetchSourceLines() 1913 MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill - 2) % SwathHeight)); in CalculatePrefetchSourceLines() 1915 …MaxPartialSwath = (unsigned int)(math_max2(1, (unsigned int)(*VInitPreFill + SwathHeight - 2) % Sw… in CalculatePrefetchSourceLines() 2391 …*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() 2398 …*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 …]
|
D | dml2_core_shared.c | 1026 …mode_lib->ms.MaximumSwathWidthInLineBufferLuma = mode_lib->ip.line_buffer_size_bits * math_max2(di… in dml2_core_shared_mode_support() 1027 …(display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_taps + math_max2(math_ceil2(di… in dml2_core_shared_mode_support() 1031 …imumSwathWidthInLineBufferChroma = mode_lib->ip.line_buffer_size_bits * math_max2(display_cfg->pla… in dml2_core_shared_mode_support() 1032 …(display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_taps + math_max2(math_ceil2(di… in dml2_core_shared_mode_support() 1058 …mode_lib->ms.support.AlignedYPitch[k] = (unsigned int)math_ceil2(math_max2(display_cfg->plane_desc… in dml2_core_shared_mode_support() 1064 …mode_lib->ms.support.AlignedCPitch[k] = (unsigned int)math_ceil2(math_max2(display_cfg->plane_desc… in dml2_core_shared_mode_support() 1083 …mode_lib->ms.support.AlignedDCCMetaPitchY[k] = (unsigned int)math_ceil2(math_max2(display_cfg->pla… in dml2_core_shared_mode_support() 1090 …mode_lib->ms.support.AlignedDCCMetaPitchC[k] = (unsigned int)math_ceil2(math_max2(display_cfg->pla… in dml2_core_shared_mode_support() 1351 mode_lib->ms.WritebackRequiredDISPCLK = math_max2(mode_lib->ms.WritebackRequiredDISPCLK, in dml2_core_shared_mode_support() 1367 …mode_lib->ms.RequiredDISPCLK = math_max2(mode_lib->ms.RequiredDISPCLK, mode_lib->ms.RequiredDISPCL… in dml2_core_shared_mode_support() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/ |
D | dml2_dpmm_dcn4.c | 211 …pll_frequency_khz = (unsigned long) math_max2(600000, math_ceil2(math_max3(dispclk_khz, dpprefclk_… in round_to_non_dfs_granularity() 576 …dispclk_khz = math_max2(dispclk_khz, mode_support_result->global.dispclk_khz * (1 + in_out->soc_bb… in map_mode_to_soc_dpm()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/ |
D | dml2_pmo_dcn4_fams2.c | 1627 math_max2(0.0, in build_fams2_meta_per_stream() 1914 …plane->overrides.reserved_vblank_time_ns = (long)math_max2(pmo->soc_bb->power_management_parameter… in setup_planes_for_vblank_by_mask() 2237 …(long)math_max2(pmo->scratch.pmo_dcn4.optimal_vblank_reserved_time_for_stutter_us[pmo->scratch.pmo… in pmo_dcn4_fams2_optimize_for_stutter()
|