Home
last modified time | relevance | path

Searched refs:dml_max (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml_inline_defs.h47 static inline double dml_max(double a, double b) in dml_max() function
54 return dml_max(dml_max(a, b), c); in dml_max3()
59 return dml_max(dml_max(a, b), dml_max(c, d)); in dml_max4()
64 return dml_max(dml_max4(a, b, c, d), e); in dml_max5()
Ddml1_display_rq_dlg_calc.c1149 min_ttu_vblank = dml_max(dlg_sys_param.t_sr_wm_us, min_ttu_vblank); in dml1_rq_dlg_get_dlg_params()
1151 min_ttu_vblank = dml_max(dlg_sys_param.t_mclk_wm_us, min_ttu_vblank); in dml1_rq_dlg_get_dlg_params()
1287 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml1_rq_dlg_get_dlg_params()
1289 line_wait = dml_max( in dml1_rq_dlg_get_dlg_params()
1352 max_vinit_l = interlaced ? dml_max(vinit_l, vinit_bot_l) : vinit_l; in dml1_rq_dlg_get_dlg_params()
1353 max_vinit_c = interlaced ? dml_max(vinit_c, vinit_bot_c) : vinit_c; in dml1_rq_dlg_get_dlg_params()
1397 t_vm_us = dml_max( in dml1_rq_dlg_get_dlg_params()
1399 dml_max((double) vm_bytes / prefetch_bw, t_vm_us)); in dml1_rq_dlg_get_dlg_params()
1402 t_vm_us = dml_max(mode_lib->soc.urgent_latency_us, t_vm_us); in dml1_rq_dlg_get_dlg_params()
1404 t_vm_us = dml_max(vm_bytes / flip_bw, t_vm_us); in dml1_rq_dlg_get_dlg_params()
[all …]
Ddisplay_mode_vba.c870 double CalculateWriteBackDISPCLK = 1.01 * PixelClock * dml_max( in CalculateWriteBackDISPCLK()
872dml_max((WritebackLumaVTaps * dml_ceil(1.0 / WritebackVRatio, 1) * dml_ceil(WritebackDestinationWi… in CalculateWriteBackDISPCLK()
877 CalculateWriteBackDISPCLK = dml_max(CalculateWriteBackDISPCLK, 1.01 * PixelClock * dml_max( in CalculateWriteBackDISPCLK()
879dml_max((WritebackChromaVTaps * dml_ceil(1 / (2 * WritebackVRatio), 1) * dml_ceil(WritebackDestina… in CalculateWriteBackDISPCLK()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c551 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule()
563 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule()
594 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
598 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule()
607 dml_max( in CalculatePrefetchSchedule()
609 dml_max( in CalculatePrefetchSchedule()
619 Tr0_oto = dml_max( in CalculatePrefetchSchedule()
621 dml_max(UrgentLatencyPixelDataOnly, dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule()
663 dml_max( in CalculatePrefetchSchedule()
667 dml_max( in CalculatePrefetchSchedule()
[all …]
Ddisplay_mode_vba_20v2.c504 …mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark,… in CalculateDelayAfterScaler()
508 …mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark,… in CalculateDelayAfterScaler()
614 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule()
626 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule()
654 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
658 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule()
667 dml_max( in CalculatePrefetchSchedule()
669 dml_max( in CalculatePrefetchSchedule()
679 Tr0_oto = dml_max( in CalculatePrefetchSchedule()
681 dml_max(UrgentLatencyPixelDataOnly, dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule()
[all …]
Ddisplay_rq_dlg_calc_20.c1073 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml20_rq_dlg_get_dlg_params()
1075 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us in dml20_rq_dlg_get_dlg_params()
Ddisplay_rq_dlg_calc_20v2.c1074 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml20v2_rq_dlg_get_dlg_params()
1076 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us in dml20v2_rq_dlg_get_dlg_params()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c760 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule()
772 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule()
801 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
805 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule()
819 Tvm_oto = dml_max(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule()
820dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1… in CalculatePrefetchSchedule()
826 Tr0_oto = dml_max( in CalculatePrefetchSchedule()
828 dml_max(UrgentLatency * (HostVMDynamicLevels + 1), dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule()
907 …TimeForFetchingMetaPTE = dml_max(*Tno_bw + (double) PDEAndMetaPTEBytesFrame * HostVMInefficiencyFa… in CalculatePrefetchSchedule()
908dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1… in CalculatePrefetchSchedule()
[all …]
Ddisplay_rq_dlg_calc_21.c1120 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml_rq_dlg_get_dlg_params()
1122 line_wait = dml_max( in dml_rq_dlg_get_dlg_params()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c1071 dst_y_prefetch_equ = VStartup - (Tsetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime in CalculatePrefetchSchedule()
1074 Lsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC); in CalculatePrefetchSchedule()
1268 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0); in CalculatePrefetchSchedule()
1271 *VRatioPrefetchY = dml_max((double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData, in CalculatePrefetchSchedule()
1273 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0); in CalculatePrefetchSchedule()
1282 *VRatioPrefetchC = dml_max(*VRatioPrefetchC, 1.0); in CalculatePrefetchSchedule()
1286 *VRatioPrefetchC = dml_max(*VRatioPrefetchC, in CalculatePrefetchSchedule()
1288 *VRatioPrefetchC = dml_max(*VRatioPrefetchC, 1.0); in CalculatePrefetchSchedule()
1346 *prefetch_vmrow_bw = dml_max(prefetch_vm_bw, prefetch_row_bw); in CalculatePrefetchSchedule()
1705 MaxPartialSwath = dml_max(1U, MaxPartialSwath); in CalculatePrefetchSourceLines()
[all …]
Ddisplay_rq_dlg_calc_30.c1313 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml_rq_dlg_get_dlg_params()
1315 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us in dml_rq_dlg_get_dlg_params()