Home
last modified time | relevance | path

Searched refs:dml_min (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/
Ddml_inline_defs.h32 static inline double dml_min(double a, double b) in dml_min() function
39 return dml_min(dml_min(a, b), c); in dml_min3()
44 return dml_min(dml_min(a, b), dml_min(c, d)); in dml_min4()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c221 *PSCL_THROUGHPUT = dml_min(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput * HRatio / in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
224 *PSCL_THROUGHPUT = dml_min(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput); in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
227 DPPCLKUsingSingleDPPLuma = PixelClock * dml_max3(VTaps / 6 * dml_min(1, HRatio), HRatio * VRatio / in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
239 *PSCL_THROUGHPUT_CHROMA = dml_min(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput * in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
242 *PSCL_THROUGHPUT_CHROMA = dml_min(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput); in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
244 DPPCLKUsingSingleDPPChroma = PixelClock * dml_max3(VTapsChroma / 6 * dml_min(1, HRatioChroma), in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput()
753 SwathWidthY[k] = dml_min(SwathWidthdoubleDPPY[k], in dml32_CalculateSwathWidth()
756 SwathWidthY[k] = dml_min(SwathWidthdoubleDPPY[k], in dml32_CalculateSwathWidth()
794 swath_width_luma_ub[k] = dml_min(surface_width_ub_l, in dml32_CalculateSwathWidth()
802 swath_width_luma_ub[k] = dml_min(surface_width_ub_l, in dml32_CalculateSwathWidth()
[all …]
Ddisplay_mode_vba_32.c792 dml_min(v->VStartupLines, v->MaxVStartupLines[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
842 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1950 …v->MaximumSwathWidthLuma[k] = dml_min(v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.Ma… in dml32_ModeSupportAndSystemConfigurationFull()
1952 …v->MaximumSwathWidthChroma[k] = dml_min(v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.… in dml32_ModeSupportAndSystemConfigurationFull()
3300 dml_min(v->MaxVStartup, v->MaximumVStartup[i][j][k]), in dml32_ModeSupportAndSystemConfigurationFull()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c237 mode_lib->vba.FabricAndDRAMBandwidth = dml_min( in dml20_recalculate()
257 dml_min( in adjust_ReturnBW()
280 dml_min( in adjust_ReturnBW()
1040 dml_min( in CalculateVMAndRowBytes()
1045 dml_min( in CalculateVMAndRowBytes()
1064 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
1119 mode_lib->vba.PSCL_THROUGHPUT_LUMA[k] = dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1128 mode_lib->vba.PSCL_THROUGHPUT_LUMA[k] = dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1137 * dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1160 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
Ddisplay_mode_vba_20v2.c261 mode_lib->vba.FabricAndDRAMBandwidth = dml_min( in dml20v2_recalculate()
281 dml_min( in adjust_ReturnBW()
304 dml_min( in adjust_ReturnBW()
1100 dml_min( in CalculateVMAndRowBytes()
1105 dml_min( in CalculateVMAndRowBytes()
1124 *dpte_row_height = dml_min(PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
1179 mode_lib->vba.PSCL_THROUGHPUT_LUMA[k] = dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1188 mode_lib->vba.PSCL_THROUGHPUT_LUMA[k] = dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1197 * dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1220 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
Ddisplay_rq_dlg_calc_20.c134 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery()
607 log2_dpte_row_height_linear = dml_floor(dml_log2(dml_min(64 * 1024 * pde_buf_entries in get_meta_and_pte_attr()
Ddisplay_rq_dlg_calc_20v2.c134 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery()
607 log2_dpte_row_height_linear = dml_floor(dml_log2(dml_min(64 * 1024 * pde_buf_entries in get_meta_and_pte_attr()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1076 prefetch_bw_pr = dml_min(1, myPipe->VRatio) * prefetch_bw_pr;
1589 max_vp_horz_width = dml_min((double) MAS_vp_horz_limit, detile_buf_vp_horz_limit);
1590 max_vp_vert_height = dml_min((double) MAS_vp_vert_limit, detile_buf_vp_vert_limit);
1959 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1967 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2023 double IdealFabricAndSDPPortBandwidthPerState = dml_min(
2029 v->ReturnBW = dml_min(
2033 v->ReturnBW = dml_min(
2062 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(
2066 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(v->MaxDCHUBToPSCLThroughput, v->MaxPSCLToLBThroughput);
[all …]
Ddisplay_rq_dlg_calc_314.c147 …* dml_min((double) recout_width, (double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_… in get_refcyc_per_delivery()
785 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
788 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c1058 prefetch_bw_pr = dml_min(1, myPipe->VRatio) * prefetch_bw_pr;
1572 max_vp_horz_width = dml_min((double) MAS_vp_horz_limit, detile_buf_vp_horz_limit);
1573 max_vp_vert_height = dml_min((double) MAS_vp_vert_limit, detile_buf_vp_vert_limit);
1942 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1950 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2006 double IdealFabricAndSDPPortBandwidthPerState = dml_min(
2011 v->ReturnBW = dml_min(
2015 v->ReturnBW = dml_min(
2044 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(
2048 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(v->MaxDCHUBToPSCLThroughput, v->MaxPSCLToLBThroughput);
[all …]
Ddisplay_rq_dlg_calc_31.c59 …* dml_min((double) recout_width, (double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_… in get_refcyc_per_delivery()
697 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
700 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c847 *DestinationLinesForPrefetch = dml_min(*DestinationLinesForPrefetch, 63.75); in CalculatePrefetchSchedule()
1418 *dpte_row_height = dml_min(128, in CalculateVMAndRowBytes()
1430 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
1503 locals->PSCL_THROUGHPUT_LUMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1512 locals->PSCL_THROUGHPUT_LUMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1521 * dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1544 dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1554 locals->PSCL_THROUGHPUT_CHROMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1563 * dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1700 locals->SwathWidthY[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
Ddisplay_rq_dlg_calc_21.c110 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery()
607 dml_min( in get_meta_and_pte_attr()
732 vp_width = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param()
735 vp_height = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1425 max_vp_horz_width = dml_min((double) MAS_vp_horz_limit, detile_buf_vp_horz_limit); in CalculateDCCConfiguration()
1426 max_vp_vert_height = dml_min((double) MAS_vp_vert_limit, detile_buf_vp_vert_limit); in CalculateDCCConfiguration()
1805 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *… in CalculateVMAndRowBytes()
1813 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes()
1902 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(v->MaxDCHUBToPSCLThroughput, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1905 v->PSCL_THROUGHPUT_LUMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1911 * dml_max(v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1927 v->PSCL_THROUGHPUT_CHROMA[k] = dml_min(v->MaxDCHUBToPSCLThroughput, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1930 v->PSCL_THROUGHPUT_CHROMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1935 * dml_max3(v->VTAPsChroma[k] / 6.0 * dml_min(1.0, v->HRatioChroma[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
[all …]
Ddisplay_rq_dlg_calc_30.c58 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery()
701 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
704 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_util.c124 dml_float_t dml_min(dml_float_t x, dml_float_t y) in dml_min() function
138 return dml_min(dml_min(x, y), z); in dml_min3()
143 return dml_min(dml_min(dml_min(x, y), z), w); in dml_min4()
Ddisplay_mode_util.h40 __DML_DLL_EXPORT__ dml_float_t dml_min(dml_float_t x, dml_float_t y);
Ddisplay_mode_core.c2037 …min_row_time = dml_min(dpte_row_height * LineTime / VRatio, dpte_row_height_chroma * LineTime / VR… in CalculateFlipSchedule()
2039 …min_row_time = dml_min(meta_row_height * LineTime / VRatio, meta_row_height_chroma * LineTime / VR… in CalculateFlipSchedule()
2049 min_row_time = dml_min(dpte_row_height * LineTime / VRatio, meta_row_height * LineTime / VRatio); in CalculateFlipSchedule()
2196 …max_vp_horz_width = (dml_uint_t)(dml_min((dml_float_t) MAS_vp_horz_limit, detile_buf_vp_horz_limit… in CalculateDCCConfiguration()
2197 …max_vp_vert_height = (dml_uint_t)(dml_min((dml_float_t) MAS_vp_vert_limit, detile_buf_vp_vert_limi… in CalculateDCCConfiguration()
2616 …*dpte_row_height = (dml_uint_t)(dml_min(128, 1 << (dml_uint_t) dml_floor(dml_log2(PTEBufferSizeInR… in CalculateVMAndRowBytes()
2653 *dpte_row_height = (dml_uint_t)(dml_min(*PixelPTEReqWidth, MacroTileWidth)); in CalculateVMAndRowBytes()
2772 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in TruncToValidBPP()
2774 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in TruncToValidBPP()
2780 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in TruncToValidBPP()
[all …]