Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_dcn4.c174 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
177 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
442 …in_out->mode_support_result.global.active.average_bw_sdp_kbps = (unsigned long)math_ceil2((l->mode… in core_dcn4_mode_support()
443 …in_out->mode_support_result.global.active.urgent_bw_sdp_kbps = (unsigned long)math_ceil2((l->mode_… in core_dcn4_mode_support()
444 …in_out->mode_support_result.global.svp_prefetch.average_bw_sdp_kbps = (unsigned long)math_ceil2((l… in core_dcn4_mode_support()
445 …in_out->mode_support_result.global.svp_prefetch.urgent_bw_sdp_kbps = (unsigned long)math_ceil2((l-… in core_dcn4_mode_support()
447 …in_out->mode_support_result.global.active.average_bw_dram_kbps = (unsigned long)math_ceil2((l->mod… in core_dcn4_mode_support()
448 …in_out->mode_support_result.global.active.urgent_bw_dram_kbps = (unsigned long)math_ceil2((l->mode… in core_dcn4_mode_support()
449 …in_out->mode_support_result.global.svp_prefetch.average_bw_dram_kbps = (unsigned long)math_ceil2((… in core_dcn4_mode_support()
450 …in_out->mode_support_result.global.svp_prefetch.urgent_bw_dram_kbps = (unsigned long)math_ceil2((l… in core_dcn4_mode_support()
Ddml2_core_shared.c906 …mode_lib->ms.SurfaceReadBandwidthLuma[k] = mode_lib->ms.SwathWidthYSingleDPP[k] * math_ceil2(mode_… in dml2_core_shared_mode_support()
907 …mode_lib->ms.SurfaceReadBandwidthChroma[k] = mode_lib->ms.SwathWidthCSingleDPP[k] * math_ceil2(mod… in dml2_core_shared_mode_support()
913 …double old_ReadBandwidthLuma = mode_lib->ms.SwathWidthYSingleDPP[k] * math_ceil2(mode_lib->ms.Byte… in dml2_core_shared_mode_support()
914 …double old_ReadBandwidthChroma = mode_lib->ms.SwathWidthYSingleDPP[k] / 2 * math_ceil2(mode_lib->m… 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()
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()
[all …]
Ddml2_core_dcn4_calcs.c405 …*MaxTotalDETInKByte = (unsigned int) math_ceil2((double)(ConfigReturnBufferSizeInKByte + ROBBuffer… in CalculateMaxDETAndMinCompressedBufferSize()
777 …= math_min2(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput * HRatio / math_ceil2((double)HTaps / … in CalculateSinglePipeDPPCLKAndSCLThroughput()
792 …_min2(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput * HRatioChroma / math_ceil2((double)HTapsChr… in CalculateSinglePipeDPPCLKAndSCLThroughput()
909 …surface_width_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
910 …surface_height_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
911 …surface_width_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
912 …surface_height_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
939 …swath_width_luma_ub[k] = (unsigned int)(math_min2(surface_width_ub_l, math_ceil2((double)SwathWidt… in CalculateSwathWidth()
947 …swath_width_chroma_ub[k] = (unsigned int)(math_min2(surface_width_ub_c, math_ceil2((double)SwathWi… in CalculateSwathWidth()
960 …swath_width_luma_ub[k] = (unsigned int)(math_min2(surface_height_ub_l, math_ceil2((double)SwathWid… in CalculateSwathWidth()
[all …]
Ddml2_core_utils.c440 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
443 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/
Dlib_float_math.h14 double math_ceil2(const double arg, const double significance);
Dlib_float_math.c64 double math_ceil2(const double arg, const double significance) in math_ceil2() function
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
Ddml2_dpmm_dcn4.c211 …pll_frequency_khz = (unsigned long) math_max2(600000, math_ceil2(math_max3(dispclk_khz, dpprefclk_… in round_to_non_dfs_granularity()
609 …* math_ceil2(in_out->display_cfg->mode_support_result.per_plane[i].dppclk_khz * (1.0 + in_out->soc… in map_mode_to_soc_dpm()