/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml_inline_defs.h | 52 static inline double dml_max3(double a, double b, double c) in dml_max3() function
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_util.h | 44 __DML_DLL_EXPORT__ dml_float_t dml_max3(dml_float_t x, dml_float_t y, dml_float_t z);
|
D | display_mode_core.c | 1198 s->Tvm_oto = dml_max3( in CalculatePrefetchSchedule() 1391 …s->Tvm_equ = dml_max3(*p->Tno_bw + p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor / s->p… in CalculatePrefetchSchedule() 1753 TWait = dml_max3(DRAMClockChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in CalculateTWait() 1755 TWait = dml_max3(FCLKChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in CalculateTWait() 1818 return RoundToDFSGranularity(dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB), 1, DISPCLKDPPCLKVCOSpeed); in CalculateWriteBackDISPCLK() 2004 …TimeForFetchingMetaPTEImmediateFlip = dml_max3(Tno_bw + PDEAndMetaPTEBytesPerFrame * HostVMIneffic… in CalculateFlipSchedule() 2011 …TimeForFetchingRowInVBlankImmediateFlip = dml_max3((MetaRowBytes + DPTEBytesPerRow * HostVMIneffic… in CalculateFlipSchedule() 4566 …ret = dml_max3(UrgentLatencyPixelDataOnly, UrgentLatencyPixelMixedWithVMData, UrgentLatencyVMDataO… in CalculateUrgentLatency() 4699 s->DCFCLKRequiredForPeakBandwidth = dml_max3(s->DCFCLKRequiredForPeakBandwidth, in UseMinimumDCFCLK() 5663 …DPPCLKUsingSingleDPPLuma = PixelClock * dml_max3(VTaps / 6 * dml_min(1, HRatio), HRatio * VRatio /… in CalculateSinglePipeDPPCLKAndSCLThroughput() [all …]
|
D | display_mode_util.c | 157 dml_float_t dml_max3(dml_float_t x, dml_float_t y, dml_float_t z) in dml_max3() function
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 1012 Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule() 1019 Tr0_oto = dml_max3( in CalculatePrefetchSchedule() 1155 …Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ,… in CalculatePrefetchSchedule() 1935 * dml_max3(v->VTAPsChroma[k] / 6.0 * dml_min(1.0, v->HRatioChroma[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2333 ReorderBytes = v->NumberOfChannels * dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2593 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2606 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2691 v->total_dcn_read_bw_with_flip = v->total_dcn_read_bw_with_flip + dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2703 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3249 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); in dml30_CalculateWriteBackDISPCLK() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 227 DPPCLKUsingSingleDPPLuma = PixelClock * dml_max3(VTaps / 6 * dml_min(1, HRatio), HRatio * VRatio / in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 244 DPPCLKUsingSingleDPPChroma = PixelClock * dml_max3(VTapsChroma / 6 * dml_min(1, HRatioChroma), in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 2713 …ret = dml_max3(UrgentLatencyPixelDataOnly, UrgentLatencyPixelMixedWithVMData, UrgentLatencyVMDataO… in dml32_CalculateUrgentLatency() 3133 DCFCLKRequiredForPeakBandwidth = dml_max3(DCFCLKRequiredForPeakBandwidth, in dml32_UseMinimumDCFCLK() 3261 TWait = dml_max3(DRAMClockChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in dml32_CalculateTWait() 3263 TWait = dml_max3(FCLKChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in dml32_CalculateTWait() 3646 Tvm_oto = dml_max3( in dml32_CalculatePrefetchSchedule() 3859 Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * in dml32_CalculatePrefetchSchedule() 4172 TimeForFetchingMetaPTEImmediateFlip = dml_max3(Tno_bw + PDEAndMetaPTEBytesPerFrame * in dml32_CalculateFlipSchedule() 4181 TimeForFetchingRowInVBlankImmediateFlip = dml_max3( in dml32_CalculateFlipSchedule() [all …]
|
D | display_mode_vba_32.c | 532 * dml_max3(mode_lib->vba.UrgentOutOfOrderReturnPerChannelPixelDataOnly, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1373 v->MinTTUVBlank[k] = dml_max3(v->Watermark.FCLKChangeWatermark, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2983 * dml_max3(mode_lib->vba.UrgentOutOfOrderReturnPerChannelPixelDataOnly, in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 1080 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1247 …Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ,… 2073 * dml_max3( 2455 * dml_max3( 2742 + dml_max3( 2754 + dml_max3( 2860 + dml_max3( 2872 + dml_max3( 3375 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); 3513 TimeForFetchingMetaPTEImmediateFlip = dml_max3( [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 1098 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1265 …Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ,… 2091 * dml_max3( 2474 * dml_max3( 2761 + dml_max3( 2773 + dml_max3( 2879 + dml_max3( 2891 + dml_max3( 3481 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); 3619 TimeForFetchingMetaPTEImmediateFlip = dml_max3( [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 2010 mode_lib->vba.UrgentOutOfOrderReturnPerChannel = dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2096 …mode_lib->vba.UrgentLatency = dml_max3(mode_lib->vba.UrgentLatencyPixelDataOnly, mode_lib->vba.Urg… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2288 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2296 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2371 mode_lib->vba.total_dcn_read_bw_with_flip + dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2380 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3215 TimeForFetchingMetaPTEImmediateFlip = dml_max3( in CalculateFlipSchedule() 3225 …TimeForFetchingRowInVBlankImmediateFlip = dml_max3((MetaRowBytes + DPTEBytesPerRow) * HostVMIneffi… in CalculateFlipSchedule() 3719 + dml_max3(mode_lib->vba.UrgentOutOfOrderReturnPerChannelPixelDataOnly, in dml21_ModeSupportAndSystemConfigurationFull() 3883 * dml_max3( in dml21_ModeSupportAndSystemConfigurationFull() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 3687 * dml_max3( in dml20_ModeSupportAndSystemConfigurationFull() 4806 + dml_max3( in dml20_ModeSupportAndSystemConfigurationFull() 4905 + dml_max3( in dml20_ModeSupportAndSystemConfigurationFull()
|
D | display_mode_vba_20v2.c | 3794 * dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull() 4925 + dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull() 5024 + dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull()
|