/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/ |
A D | dml_inline_defs.h | 32 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
A D | display_mode_vba_util_32.c | 1107 NextDETBufferPieceInKByte = dml_min( in dml32_CalculateDETBufferSize() 1641 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP() 1643 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP() 1648 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP() 1650 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP() 4194 min_row_time = dml_min(dpte_row_height * in dml32_CalculateFlipSchedule() 4197 min_row_time = dml_min(meta_row_height * in dml32_CalculateFlipSchedule() 5688 / dml_min(NetDCCRateLuma[k], in dml32_CalculateStutterEfficiency() 5716 / dml_min(NetDCCRateChroma[k], in dml32_CalculateStutterEfficiency() 5770 EffectiveCompressedBufferSize = dml_min( in dml32_CalculateStutterEfficiency() [all …]
|
A D | display_mode_vba_32.c | 792 dml_min(v->VStartupLines, v->MaxVStartupLines[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 839 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1947 …v->MaximumSwathWidthLuma[k] = dml_min(v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.Ma… in dml32_ModeSupportAndSystemConfigurationFull() 1949 …v->MaximumSwathWidthChroma[k] = dml_min(v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.… in dml32_ModeSupportAndSystemConfigurationFull() 3292 dml_min(v->MaxVStartup, v->MaximumVStartup[i][j][k]), in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A D | display_mode_vba_20.c | 257 dml_min( in adjust_ReturnBW() 280 dml_min( in adjust_ReturnBW() 1040 dml_min( in CalculateVMAndRowBytes() 1160 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1618 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2170 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2413 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2425 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2537 dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3820 dml_min( in dml20_ModeSupportAndSystemConfigurationFull() [all …]
|
A D | display_mode_vba_20v2.c | 281 dml_min( in adjust_ReturnBW() 304 dml_min( in adjust_ReturnBW() 1100 dml_min( in CalculateVMAndRowBytes() 1220 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1654 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2204 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2447 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2459 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2571 dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3927 dml_min( in dml20v2_ModeSupportAndSystemConfigurationFull() [all …]
|
A D | display_rq_dlg_calc_20v2.c | 134 * 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()
|
A D | display_rq_dlg_calc_20.c | 134 * 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
A D | display_mode_vba_31.c | 2020 v->ReturnBW = dml_min( 2024 v->ReturnBW = dml_min( 2053 v->PSCL_THROUGHPUT_LUMA[k] = dml_min( 2469 VMDataOnlyReturnBW = dml_min( 3959 v->PSCL_FACTOR[k] = dml_min( 3977 v->PSCL_FACTOR_CHROMA[k] = dml_min( 4984 dml_min( 5037 VMDataOnlyReturnBWPerState = dml_min( 5038 dml_min( 6796 swath_width_chroma_ub[k] = dml_min( [all …]
|
A D | display_rq_dlg_calc_31.c | 59 …* 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
A D | display_mode_vba_314.c | 2042 v->ReturnBW = dml_min( 2046 v->ReturnBW = dml_min( 2075 v->PSCL_THROUGHPUT_LUMA[k] = dml_min( 2491 VMDataOnlyReturnBW = dml_min( 4056 v->PSCL_FACTOR[k] = dml_min( 4074 v->PSCL_FACTOR_CHROMA[k] = dml_min( 5081 dml_min( 5134 VMDataOnlyReturnBWPerState = dml_min( 5135 dml_min( 6843 swath_width_chroma_ub[k] = dml_min( [all …]
|
A D | display_rq_dlg_calc_314.c | 147 …* 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
A D | display_mode_vba_21.c | 1521 * dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1544 dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1563 * dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2237 dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2758 dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3704 * dml_min( in dml21_ModeSupportAndSystemConfigurationFull() 3885 * dml_min( in dml21_ModeSupportAndSystemConfigurationFull() 3901 dml_min( in dml21_ModeSupportAndSystemConfigurationFull() 3919 * dml_min( in dml21_ModeSupportAndSystemConfigurationFull() 4016 dml_min( in dml21_ModeSupportAndSystemConfigurationFull() [all …]
|
A D | display_rq_dlg_calc_21.c | 110 * 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.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
A D | display_mode_vba_30.c | 1816 *dpte_row_height = dml_min(*PixelPTEReqWidth, *MacroTileWidth); in CalculateVMAndRowBytes() 1908 v->PSCL_THROUGHPUT_LUMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1914 * dml_max(v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1933 v->PSCL_THROUGHPUT_CHROMA[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2467 dml_min(v->VStartupLines, v->MaxVStartupLines[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3008 v->VStartupMargin = dml_min(v->VStartupMargin, margin); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3780 v->VTAPsChroma[k] / 6.0 * dml_min(1.0, v->HRatioChroma[k]), in dml30_ModeSupportAndSystemConfigurationFull() 4062 dml_min(600.0, v->PHYCLKPerState[i]) * 10, in dml30_ModeSupportAndSystemConfigurationFull() 4696 v->MaxTotalVerticalActiveAvailableBandwidth[i][j] = dml_min( in dml30_ModeSupportAndSystemConfigurationFull() 4796 dml_min(v->MaxVStartup, v->MaximumVStartup[i][j][k]), in dml30_ModeSupportAndSystemConfigurationFull() [all …]
|
A D | display_rq_dlg_calc_30.c | 60 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery() 704 vp_width = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param() 707 vp_height = dml_min(full_src_vp_width, src_hactive_odm); in get_surf_rq_param()
|