Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/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()
610 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()
610 log2_dpte_row_height_linear = dml_floor(dml_log2(dml_min(64 * 1024 * pde_buf_entries in get_meta_and_pte_attr()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1079 prefetch_bw_pr = dml_min(1, myPipe->VRatio) * prefetch_bw_pr;
1592 max_vp_horz_width = dml_min((double) MAS_vp_horz_limit, detile_buf_vp_horz_limit);
1593 max_vp_vert_height = dml_min((double) MAS_vp_vert_limit, detile_buf_vp_vert_limit);
1971 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1979 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2035 double IdealFabricAndSDPPortBandwidthPerState = dml_min(
2041 v->ReturnBW = dml_min(
2045 v->ReturnBW = dml_min(
2074 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(
2078 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()
786 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
789 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
/linux-6.6.21/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);
1951 …*dpte_row_height = dml_min(128, 1 << (unsigned int) dml_floor(dml_log2(PTEBufferSizeInRequests * *…
1959 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth);
2015 double IdealFabricAndSDPPortBandwidthPerState = dml_min(
2020 v->ReturnBW = dml_min(
2024 v->ReturnBW = dml_min(
2053 v->PSCL_THROUGHPUT_LUMA[k] = dml_min(
2057 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()
698 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
701 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
/linux-6.6.21/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()
610 dml_min( in get_meta_and_pte_attr()
736 vp_width = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param()
739 vp_height = dml_min(full_src_vp_width, src_hactive_half); in get_surf_rq_param()
/linux-6.6.21/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()
702 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
705 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()