| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | dml_inline_defs.h | 52 static inline double dml_max3(double a, double b, double c) in dml_max3() function
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | display_mode_util.h | 43 __DML_DLL_EXPORT__ dml_float_t dml_max3(dml_float_t x, dml_float_t y, dml_float_t z);
|
| H A D | display_mode_core.c | 1199 s->Tvm_oto = dml_max3( in CalculatePrefetchSchedule() 1393 …s->Tvm_equ = dml_max3(*p->Tno_bw + p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor / s->p… in CalculatePrefetchSchedule() 1755 TWait = dml_max3(DRAMClockChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in CalculateTWait() 1757 TWait = dml_max3(FCLKChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in CalculateTWait() 1820 return RoundToDFSGranularity(dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB), 1, DISPCLKDPPCLKVCOSpeed); in CalculateWriteBackDISPCLK() 2006 …TimeForFetchingMetaPTEImmediateFlip = dml_max3(Tno_bw + PDEAndMetaPTEBytesPerFrame * HostVMIneffic… in CalculateFlipSchedule() 2013 …TimeForFetchingRowInVBlankImmediateFlip = dml_max3((MetaRowBytes + DPTEBytesPerRow * HostVMIneffic… in CalculateFlipSchedule() 4568 …ret = dml_max3(UrgentLatencyPixelDataOnly, UrgentLatencyPixelMixedWithVMData, UrgentLatencyVMDataO… in CalculateUrgentLatency() 4701 s->DCFCLKRequiredForPeakBandwidth = dml_max3(s->DCFCLKRequiredForPeakBandwidth, in UseMinimumDCFCLK() 5665 …DPPCLKUsingSingleDPPLuma = PixelClock * dml_max3(VTaps / 6 * dml_min(1, HRatio), HRatio * VRatio /… in CalculateSinglePipeDPPCLKAndSCLThroughput() [all …]
|
| H A 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/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 919 …Tvm_oto = dml_max3(v->Tno_bw[k] + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw… in CalculatePrefetchSchedule() 926 Tr0_oto = dml_max3( in CalculatePrefetchSchedule() 1062 …Tvm_equ = dml_max3(v->Tno_bw[k] + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw… in CalculatePrefetchSchedule() 1830 * dml_max3(v->VTAPsChroma[k] / 6.0 * dml_min(1.0, v->HRatioChroma[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2228 ReorderBytes = v->NumberOfChannels * dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2459 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2472 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2557 v->total_dcn_read_bw_with_flip = v->total_dcn_read_bw_with_flip + dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2569 dml_max3(v->DPPPerPlane[k] * v->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3076 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); in dml30_CalculateWriteBackDISPCLK() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A 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() 2717 …ret = dml_max3(UrgentLatencyPixelDataOnly, UrgentLatencyPixelMixedWithVMData, UrgentLatencyVMDataO… in dml32_CalculateUrgentLatency() 3137 DCFCLKRequiredForPeakBandwidth = dml_max3(DCFCLKRequiredForPeakBandwidth, in dml32_UseMinimumDCFCLK() 3265 TWait = dml_max3(DRAMClockChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in dml32_CalculateTWait() 3267 TWait = dml_max3(FCLKChangeLatency + UrgentLatency, SREnterPlusExitTime, UrgentLatency); in dml32_CalculateTWait() 3650 Tvm_oto = dml_max3( in dml32_CalculatePrefetchSchedule() 3863 Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * in dml32_CalculatePrefetchSchedule() 4173 TimeForFetchingMetaPTEImmediateFlip = dml_max3(Tno_bw + PDEAndMetaPTEBytesPerFrame * in dml32_CalculateFlipSchedule() 4182 TimeForFetchingRowInVBlankImmediateFlip = dml_max3( in dml32_CalculateFlipSchedule() [all …]
|
| H A 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/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| H A D | display_mode_vba_314.c | 1098 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1266 …Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ,… 2089 * dml_max3( 2472 * dml_max3( 2759 + dml_max3( 2771 + dml_max3( 2877 + dml_max3( 2889 + dml_max3( 3479 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); 3617 TimeForFetchingMetaPTEImmediateFlip = dml_max3( [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| H A D | display_mode_vba_31.c | 1080 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1248 …Tvm_equ = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ,… 2071 * dml_max3( 2453 * dml_max3( 2740 + dml_max3( 2752 + dml_max3( 2858 + dml_max3( 2870 + dml_max3( 3373 return dml_max3(DISPCLK_H, DISPCLK_V, DISPCLK_HB); 3511 TimeForFetchingMetaPTEImmediateFlip = dml_max3( [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| H A D | display_mode_vba_21.c | 2007 mode_lib->vba.UrgentOutOfOrderReturnPerChannel = dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2093 …mode_lib->vba.UrgentLatency = dml_max3(mode_lib->vba.UrgentLatencyPixelDataOnly, mode_lib->vba.Urg… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2285 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2293 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2368 mode_lib->vba.total_dcn_read_bw_with_flip + dml_max3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2377 dml_max3(locals->prefetch_vmrow_bw[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3212 TimeForFetchingMetaPTEImmediateFlip = dml_max3( in CalculateFlipSchedule() 3222 …TimeForFetchingRowInVBlankImmediateFlip = dml_max3((MetaRowBytes + DPTEBytesPerRow) * HostVMIneffi… in CalculateFlipSchedule() 3716 + dml_max3(mode_lib->vba.UrgentOutOfOrderReturnPerChannelPixelDataOnly, in dml21_ModeSupportAndSystemConfigurationFull() 3880 * dml_max3( in dml21_ModeSupportAndSystemConfigurationFull() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | display_mode_vba_20.c | 3684 * dml_max3( in dml20_ModeSupportAndSystemConfigurationFull() 4803 + dml_max3( in dml20_ModeSupportAndSystemConfigurationFull() 4902 + dml_max3( in dml20_ModeSupportAndSystemConfigurationFull()
|
| H A D | display_mode_vba_20v2.c | 3791 * dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull() 4922 + dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull() 5021 + dml_max3( in dml20v2_ModeSupportAndSystemConfigurationFull()
|