Searched refs:dml_max (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/ |
| D | dml_inline_defs.h | 48 static inline double dml_max(double a, double b) in dml_max() function 55 return dml_max(dml_max(a, b), c); in dml_max3() 60 return dml_max(dml_max(a, b), dml_max(c, d)); in dml_max4() 65 return dml_max(dml_max4(a, b, c, d), e); in dml_max5()
|
| D | dml1_display_rq_dlg_calc.c | 1149 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 …]
|
| D | display_mode_vba.c | 839 double CalculateWriteBackDISPCLK = 1.01 * PixelClock * dml_max( in CalculateWriteBackDISPCLK() 841 …dml_max((WritebackLumaVTaps * dml_ceil(1.0 / WritebackVRatio, 1) * dml_ceil(WritebackDestinationWi… in CalculateWriteBackDISPCLK() 846 CalculateWriteBackDISPCLK = dml_max(CalculateWriteBackDISPCLK, 1.01 * PixelClock * dml_max( in CalculateWriteBackDISPCLK() 848 …dml_max((WritebackChromaVTaps * dml_ceil(1 / (2 * WritebackVRatio), 1) * dml_ceil(WritebackDestina… in CalculateWriteBackDISPCLK()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| D | display_mode_vba_20.c | 550 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule() 562 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule() 593 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 597 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 606 dml_max( in CalculatePrefetchSchedule() 608 dml_max( in CalculatePrefetchSchedule() 618 Tr0_oto = dml_max( in CalculatePrefetchSchedule() 620 dml_max(UrgentLatencyPixelDataOnly, dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule() 662 dml_max( in CalculatePrefetchSchedule() 666 dml_max( in CalculatePrefetchSchedule() [all …]
|
| D | display_mode_vba_20v2.c | 502 …mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark,… in CalculateDelayAfterScaler() 506 …mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark,… in CalculateDelayAfterScaler() 612 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule() 624 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule() 652 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 656 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 665 dml_max( in CalculatePrefetchSchedule() 667 dml_max( in CalculatePrefetchSchedule() 677 Tr0_oto = dml_max( in CalculatePrefetchSchedule() 679 dml_max(UrgentLatencyPixelDataOnly, dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule() [all …]
|
| D | display_rq_dlg_calc_20.c | 1079 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml20_rq_dlg_get_dlg_params() 1081 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us in dml20_rq_dlg_get_dlg_params()
|
| D | display_rq_dlg_calc_20v2.c | 1079 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml20v2_rq_dlg_get_dlg_params() 1081 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us in dml20v2_rq_dlg_get_dlg_params()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| D | display_mode_vba_21.c | 759 *VReadyOffsetPix = dml_max( in CalculatePrefetchSchedule() 771 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc); in CalculatePrefetchSchedule() 800 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 804 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime; in CalculatePrefetchSchedule() 818 Tvm_oto = dml_max(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule() 819 …dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1… in CalculatePrefetchSchedule() 825 Tr0_oto = dml_max( in CalculatePrefetchSchedule() 827 dml_max(UrgentLatency * (HostVMDynamicLevels + 1), dml_max(LineTime - Tvm_oto, LineTime / 4))); in CalculatePrefetchSchedule() 906 …TimeForFetchingMetaPTE = dml_max(*Tno_bw + (double) PDEAndMetaPTEBytesFrame * HostVMInefficiencyFa… in CalculatePrefetchSchedule() 907 …dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1… in CalculatePrefetchSchedule() [all …]
|
| D | display_rq_dlg_calc_21.c | 1126 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait); in dml_rq_dlg_get_dlg_params() 1128 line_wait = dml_max( in dml_rq_dlg_get_dlg_params()
|