Searched refs:dml_max (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h47 static inline double dml_max(double a, double b) function
54 return dml_max(dml_max(a, b), c);
59 return dml_max(dml_max(a, b), dml_max(c, d));
64 return dml_max(dml_max4(a, b, c, d), e);
H A Ddml1_display_rq_dlg_calc.c1167 min_ttu_vblank = dml_max(dlg_sys_param->t_sr_wm_us, min_ttu_vblank);
1169 min_ttu_vblank = dml_max(dlg_sys_param->t_mclk_wm_us, min_ttu_vblank);
1305 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait);
1307 line_wait = dml_max(
1366 max_vinit_l = interlaced ? dml_max(vinit_l, vinit_bot_l) : vinit_l;
1367 max_vinit_c = interlaced ? dml_max(vinit_c, vinit_bot_c) : vinit_c;
1411 t_vm_us = dml_max(
1413 dml_max((double) vm_bytes / prefetch_bw, t_vm_us));
1416 t_vm_us = dml_max(mode_lib->soc.urgent_latency_us, t_vm_us);
1418 t_vm_us = dml_max(vm_byte
[all...]
H A Ddisplay_mode_vba.c1125 double CalculateWriteBackDISPCLK = 1.01 * PixelClock * dml_max(
1127 dml_max((WritebackLumaVTaps * dml_ceil(1.0 / WritebackVRatio, 1) * dml_ceil(WritebackDestinationWidth / 4.0, 1)
1132 CalculateWriteBackDISPCLK = dml_max(CalculateWriteBackDISPCLK, 1.01 * PixelClock * dml_max(
1134 dml_max((WritebackChromaVTaps * dml_ceil(1 / (2 * WritebackVRatio), 1) * dml_ceil(WritebackDestinationWidth / 2.0 / 2.0, 1)
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_mode_vba_20v2.c504 mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark, DataFabricLineDeliveryTimeLuma - DisplayPipeLineDeliveryTimeLuma);
508 mode_lib->vba.LastPixelOfLineExtraWatermark = dml_max(mode_lib->vba.LastPixelOfLineExtraWatermark, DataFabricLineDeliveryTimeChroma - DisplayPipeLineDeliveryTimeChroma);
614 *VReadyOffsetPix = dml_max(
626 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc);
654 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime
658 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
667 dml_max(
669 dml_max(
679 Tr0_oto = dml_max(
681 dml_max(UrgentLatencyPixelDataOnl
[all...]
H A Ddisplay_mode_vba_20.c551 *VReadyOffsetPix = dml_max(
563 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc);
594 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime
598 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
607 dml_max(
609 dml_max(
619 Tr0_oto = dml_max(
621 dml_max(UrgentLatencyPixelDataOnly, dml_max(LineTime - Tvm_oto, LineTime / 4)));
663 dml_max(
[all...]
H A Ddisplay_rq_dlg_calc_20v2.c1092 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait);
1094 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us
H A Ddisplay_rq_dlg_calc_20.c1091 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait);
1093 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_mode_vba_21.c760 *VReadyOffsetPix = dml_max(
772 Tdm = dml_max(0.0, UrgentExtraLatency - TCalc);
801 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime
805 Tsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
821 Tvm_oto = dml_max(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,
822 dml_max(UrgentExtraLatency + UrgentLatency * (GPUVMPageTableLevels * (HostVMDynamicLevels + 1) - 1),
828 Tr0_oto = dml_max(
830 dml_max(UrgentLatency * (HostVMDynamicLevels + 1), dml_max(LineTime - Tvm_oto, LineTime / 4)));
912 TimeForFetchingMetaPTE = dml_max(*Tno_b
[all...]
H A Ddisplay_rq_dlg_calc_21.c1138 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait);
1140 line_wait = dml_max(
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c1059 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
1061 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
1063 min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre);
1064 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4;
1107 dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAfterScaler + *DSTXAfterScaler / myPipe->HTotal);
1111 dep_bytes = dml_max(PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor, MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor);
1306 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0);
1314 *VRatioPrefetchY = dml_max(
1317 *VRatioPrefetchY = dml_max(*VRatioPrefetch
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c1080 max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
1082 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
1084 min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre);
1085 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4;
1128 dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAfterScaler + *DSTXAfterScaler / myPipe->HTotal);
1132 dep_bytes = dml_max(PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor, MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor);
1327 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0);
1335 *VRatioPrefetchY = dml_max(
1338 *VRatioPrefetchY = dml_max(*VRatioPrefetch
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c1003 dst_y_prefetch_equ = VStartup - (Tsetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime
1006 Lsw_oto = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC);
1200 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0);
1203 *VRatioPrefetchY = dml_max((double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData,
1205 *VRatioPrefetchY = dml_max(*VRatioPrefetchY, 1.0);
1214 *VRatioPrefetchC = dml_max(*VRatioPrefetchC, 1.0);
1218 *VRatioPrefetchC = dml_max(*VRatioPrefetchC,
1220 *VRatioPrefetchC = dml_max(*VRatioPrefetchC, 1.0);
1278 *prefetch_vmrow_bw = dml_max(prefetch_vm_bw, prefetch_row_bw);
1637 MaxPartialSwath = dml_max(
[all...]
H A Ddisplay_rq_dlg_calc_30.c1242 line_wait = dml_max(mode_lib->soc.sr_enter_plus_exit_time_us, line_wait);
1244 line_wait = dml_max(mode_lib->soc.dram_clock_change_latency_us
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_util.c146 dml_float_t dml_max(dml_float_t x, dml_float_t y) function
159 return dml_max(dml_max(x, y), z);
163 return dml_max(dml_max(a, b), dml_max(c, d));
167 return dml_max(dml_max4(a, b, c, d), e);
H A Ddisplay_mode_util.h43 __DML_DLL_EXPORT__ dml_float_t dml_max(dml_float_t x, dml_float_t y);
H A Ddisplay_mode_core.c1172 s->Tvm_trips_rounded = dml_max(s->Tvm_trips_rounded, s->LineTime / 4.0);
1173 s->Tr0_trips_rounded = dml_max(s->Tr0_trips_rounded, s->LineTime / 4.0);
1185 s->max_Tsw = (dml_max(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) * s->LineTime);
1188 s->prefetch_bw_oto = dml_max(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw);
1190 s->min_Lsw_oto = dml_max(p->PrefetchSourceLinesY, p->PrefetchSourceLinesC) / __DML_MAX_VRATIO_PRE_OTO__;
1191 s->min_Lsw_oto = dml_max(s->min_Lsw_oto, 1.0);
1192 s->Lsw_oto = dml_ceil(4.0 * dml_max(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s->min_Lsw_oto), 1.0) / 4.0;
1221 s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + dml_max(p->TWait + p->TCalc, *p->Tdmdl)) / s->LineTime - (*p->DSTYAfterScaler + (dml_float_t) *p->DSTXAfterScaler / (dml_float_t)p->myPipe->HTotal);
1272 s->dep_bytes = dml_max(p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor, p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor);
1441 *p->VRatioPrefetchY = dml_max(*
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c248 *DPPCLKUsingSingleDPP = dml_max(DPPCLKUsingSingleDPPLuma, DPPCLKUsingSingleDPPChroma);
957 DETBufferSizeInKByte[0] = dml_max(nomDETInKByte, dml_ceil(2.0 *
994 minDET_pipe = dml_max(128, dml_ceil(((double)RoundedUpMaxSwathSizeBytesY[k] +
1566 *GlobalDPPCLK = dml_max(*GlobalDPPCLK, Dppclk[k]);
1703 return dml_max(PixelClock / 4.0 * OutputBpp / 24.0, 25.0);
2319 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 1);
2321 HostVMDynamicLevels = dml_max(0, (int) HostVMMaxNonCachedPageTableLevels - 2);
2585 MaxPartialSwath = dml_max(1, (unsigned int) (vp_start_rot + *VInitPreFill - 1) % SwathHeight);
2589 MaxPartialSwath = dml_max(1, (unsigned int) (*VInitPreFill - 2) % SwathHeight);
2591 MaxPartialSwath = dml_max(
[all...]
H A Ddisplay_mode_vba_32.c87 v->WritebackDISPCLK = dml_max(v->WritebackDISPCLK,
105 v->DISPCLK_calculated = dml_max(v->DISPCLK_calculated,
618 dml_max(v->WritebackDelay[mode_lib->vba.VoltageLevel][k],
699 mode_lib->vba.VTotal[k] - mode_lib->vba.VActive[k]) - dml_max(1.0,
717 v->MaximumMaxVStartupLines = dml_max(v->MaximumMaxVStartupLines, v->MaxVStartupLines[k]);
1237 v->WritebackAllowDRAMClockChangeEndPosition[k] = dml_max(0,
1240 v->WritebackAllowFCLKChangeEndPosition[k] = dml_max(0,
1377 v->MinTTUVBlank[k] = dml_max(v->Watermark.StutterEnterPlusExitWatermark,
1445 + dml_max(1.0,
1939 * dml_max(mode_li
[all...]

Completed in 484 milliseconds