Home
last modified time | relevance | path

Searched refs:prefetch_bw_oto (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c3456 double prefetch_bw_oto; in dml32_CalculatePrefetchSchedule() local
3642 prefetch_bw_oto = dml_max(bytes_pp * myPipe->PixelClock / myPipe->DPPPerSurface, in dml32_CalculatePrefetchSchedule()
3647 …Lsw_oto = dml_ceil(4.0 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1.0) / … in dml32_CalculatePrefetchSchedule()
3652 *Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in dml32_CalculatePrefetchSchedule()
3660 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in dml32_CalculatePrefetchSchedule()
3665 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto); in dml32_CalculatePrefetchSchedule()
3701 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto); in dml32_CalculatePrefetchSchedule()
3894 *PrefetchBandwidth = prefetch_bw_oto; in dml32_CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c902 double prefetch_bw_oto; local
1079 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
1082 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4;
1090 dml_print("DML: prefetch_bw_oto: %f\n", prefetch_bw_oto);
1098 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,…
1103 …ax4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, /…
1117 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto);
1291 *PrefetchBandwidth = prefetch_bw_oto;
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c884 double prefetch_bw_oto; local
1061 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
1064 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4;
1072 dml_print("DML: prefetch_bw_oto: %f\n", prefetch_bw_oto);
1080 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,…
1085 …ax4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, /…
1099 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto);
1273 *PrefetchBandwidth = prefetch_bw_oto;
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c789 double prefetch_bw_oto = 0; in CalculatePrefetchSchedule() local
916prefetch_bw_oto = (PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY + PrefetchSourceLine… in CalculatePrefetchSchedule()
919 …oto = dml_max3(v->Tno_bw[k] + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule()
927 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in CalculatePrefetchSchedule()
977 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (Tpre_rounded - Tsw_o… in CalculatePrefetchSchedule()
1000 …if (VStartup == MaxVStartup && (PrefetchBandwidth3 > 4 * prefetch_bw_oto) && Tpre_rounded - Tsw_ot… in CalculatePrefetchSchedule()
1087 *PrefetchBandwidth = prefetch_bw_oto; in CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c5112 s->prefetch_bw_oto = 0.0; in CalculatePrefetchSchedule()
5354 s->prefetch_bw_oto = (p->swath_width_luma_ub * p->myPipe->BytePerPixelY) / s->LineTime; in CalculatePrefetchSchedule()
5358 s->prefetch_bw_oto += (p->swath_width_chroma_ub * p->myPipe->BytePerPixelC) / s->LineTime; in CalculatePrefetchSchedule()
5364 …s->prefetch_bw_oto = math_max2(s->per_pipe_vactive_sw_bw, s->prefetch_bw_oto) * p->mall_prefetch_s… in CalculatePrefetchSchedule()
5366 …s->prefetch_bw_oto = math_min2(s->prefetch_bw_oto, *p->prefetch_sw_bytes/(s->min_Lsw_oto*s->LineTi… in CalculatePrefetchSchedule()
5368 s->Lsw_oto = math_ceil2(4.0 * *p->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, 1.0) / 4.0; in CalculatePrefetchSchedule()
5370 s->prefetch_bw_oto = math_max3(s->prefetch_bw_oto, in CalculatePrefetchSchedule()
5378 *p->RequiredPrefetchBWMax = s->prefetch_bw_oto; in CalculatePrefetchSchedule()
5389 *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto, in CalculatePrefetchSchedule()
5394 … max1 = %f\n", __func__, *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto); in CalculatePrefetchSchedule()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_mode_vba_21.c704 double prefetch_bw_oto; in CalculatePrefetchSchedule() local
817prefetch_bw_oto = (PrefetchSourceLinesY * *swath_width_luma_ub * dml_ceil(BytePerPixelDETY, 1) + P… in CalculatePrefetchSchedule()
821 Tvm_oto = dml_max(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule()
829 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in CalculatePrefetchSchedule()
898 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (*DestinationLinesFor… in CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_mode_vba_20.c510 double prefetch_bw_oto; in CalculatePrefetchSchedule() local
600 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow in CalculatePrefetchSchedule()
608 *Tno_bw + PDEAndMetaPTEBytesFrame / prefetch_bw_oto, in CalculatePrefetchSchedule()
620 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto, in CalculatePrefetchSchedule()
H A Ddisplay_mode_vba_20v2.c600 double prefetch_bw_oto; in CalculatePrefetchSchedule() local
660 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow in CalculatePrefetchSchedule()
668 *Tno_bw + PDEAndMetaPTEBytesFrame / prefetch_bw_oto, in CalculatePrefetchSchedule()
680 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto, in CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core_structs.h1840 dml_float_t prefetch_bw_oto; member
H A Ddisplay_mode_core.c1008 s->prefetch_bw_oto = 0.0; in CalculatePrefetchSchedule()
1192 s->prefetch_bw_oto = dml_max(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule()
1196 …s->Lsw_oto = dml_ceil(4.0 * dml_max(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s->mi… in CalculatePrefetchSchedule()
1201 *p->Tno_bw + p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor / s->prefetch_bw_oto, in CalculatePrefetchSchedule()
1209 (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto, in CalculatePrefetchSchedule()
1213 …c__, (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto); in CalculatePrefetchSchedule()
1248 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, s->prefetch_bw_oto); in CalculatePrefetchSchedule()