Home
last modified time | relevance | path

Searched refs:Tpre_rounded (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c3469 double Tpre_rounded; in dml32_CalculatePrefetchSchedule() local
3708 Tpre_rounded = dst_y_prefetch_equ * LineTime; in dml32_CalculatePrefetchSchedule()
3737 (Tpre_rounded >= TPreReq || dst_y_prefetch_equ == __DML_VBA_MAX_DST_Y_PRE__)) { in dml32_CalculatePrefetchSchedule()
3743 if (Tpre_rounded - *Tno_bw > 0) { in dml32_CalculatePrefetchSchedule()
3746 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw); in dml32_CalculatePrefetchSchedule()
3752 && Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - *Tno_bw > 0) { in dml32_CalculatePrefetchSchedule()
3755 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - *Tno_bw); in dml32_CalculatePrefetchSchedule()
3758 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) in dml32_CalculatePrefetchSchedule()
3760 (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded); in dml32_CalculatePrefetchSchedule()
3764 if (Tpre_rounded - Tvm_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c900 double Tpre_rounded = 0; in CalculatePrefetchSchedule() local
1030 Tpre_rounded = dst_y_prefetch_equ * LineTime; in CalculatePrefetchSchedule()
1061 if (Tpre_rounded - *Tno_bw > 0) in CalculatePrefetchSchedule()
1066 / (Tpre_rounded - *Tno_bw); in CalculatePrefetchSchedule()
1070 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (Tpre_rounded - Tsw_o… in CalculatePrefetchSchedule()
1071 … MetaRowByte + 2 * PixelPTEBytesPerRow * HostVMInefficiencyFactor) / (Tpre_rounded - Tsw_oto / 4 -… in CalculatePrefetchSchedule()
1074 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) in CalculatePrefetchSchedule()
1080 (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded); in CalculatePrefetchSchedule()
1084 if (Tpre_rounded - Tvm_trips_rounded > 0) in CalculatePrefetchSchedule()
1088 swath_width_chroma_ub * BytePerPixelC) / (Tpre_rounded - in CalculatePrefetchSchedule()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c901 double Tpre_rounded; local
1109 Tpre_rounded = dst_y_prefetch_equ * LineTime;
1149 if (Tpre_rounded - *Tno_bw > 0) {
1151 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1157 …if (VStartup == MaxVStartup && Tsw_est1 / LineTime < min_Lsw && Tpre_rounded - min_Lsw * LineTime …
1159 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - *Tno_bw);
1162 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0)
1163 …dMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw - 2 *…
1167 if (Tpre_rounded - Tvm_trips_rounded > 0) {
1169 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c919 double Tpre_rounded; local
1127 Tpre_rounded = dst_y_prefetch_equ * LineTime;
1167 if (Tpre_rounded - *Tno_bw > 0) {
1169 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1175 …if (VStartup == MaxVStartup && Tsw_est1 / LineTime < min_Lsw && Tpre_rounded - min_Lsw * LineTime …
1177 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - *Tno_bw);
1180 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0)
1181 …dMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw - 2 *…
1185 if (Tpre_rounded - Tvm_trips_rounded > 0) {
1187 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_dcn4_calcs.c5072 s->Tpre_rounded = 0.0; in CalculatePrefetchSchedule()
5391 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule()
5417 …s: Tpre=%f Tpre_rounded: %f, delta=%f\n", __func__, Tpre, s->Tpre_rounded, (s->Tpre_rounded - Tpre… in CalculatePrefetchSchedule()
5432 …bool min_Lsw_equ_ok = s->Tpre_rounded >= s->Tvm_trips_rounded + 2.0*s->Tr0_trips_rounded + s->min_… in CalculatePrefetchSchedule()
5441 if (s->Tpre_rounded - *p->Tno_bw > 0) { in CalculatePrefetchSchedule()
5445 / (s->Tpre_rounded - *p->Tno_bw); in CalculatePrefetchSchedule()
5451 …if ((s->Tsw_est1 < s->min_Lsw_equ * s->LineTime) && (s->Tpre_rounded - s->min_Lsw_equ * s->LineTim… in CalculatePrefetchSchedule()
5453 (s->Tpre_rounded - s->min_Lsw_equ * s->LineTime - 0.75 * s->LineTime - *p->Tno_bw); in CalculatePrefetchSchedule()
5456 dml2_printf("DML::%s: Tpre_rounded = %f\n", __func__, s->Tpre_rounded); in CalculatePrefetchSchedule()
5461 …dml2_printf("DML::%s: Time to fetch vm and 2 rows = %f\n", __func__, (s->Tpre_rounded - s->min_Lsw… in CalculatePrefetchSchedule()
[all …]
Ddml2_core_shared.c7550 s->Tpre_rounded = 0.0; in CalculatePrefetchSchedule()
7846 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule()
7889 if (s->Tpre_rounded - *p->Tno_bw > 0) { in CalculatePrefetchSchedule()
7893 / (s->Tpre_rounded - *p->Tno_bw); in CalculatePrefetchSchedule()
7899 … p->MaxVStartup && (s->Tsw_est1 / s->LineTime < s->min_Lsw_oto) && s->Tpre_rounded - s->min_Lsw_ot… in CalculatePrefetchSchedule()
7901 (s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.75 * s->LineTime - *p->Tno_bw); in CalculatePrefetchSchedule()
7905 if (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule()
7907 (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule()
7911 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule()
7913 (s->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule()
[all …]
Ddml2_core_shared_types.h1207 double Tpre_rounded; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c1024 s->Tpre_rounded = 0.0; in CalculatePrefetchSchedule()
1257 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule()
1288 if (s->Tpre_rounded - *p->Tno_bw > 0) { in CalculatePrefetchSchedule()
1292 / (s->Tpre_rounded - *p->Tno_bw); in CalculatePrefetchSchedule()
1297 … p->MaxVStartup && (s->Tsw_est1 / s->LineTime < s->min_Lsw_oto) && s->Tpre_rounded - s->min_Lsw_ot… in CalculatePrefetchSchedule()
1299 (s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.75 * s->LineTime - *p->Tno_bw); in CalculatePrefetchSchedule()
1302 if (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule()
1304 (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule()
1308 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule()
1310 (s->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule()
[all …]
Ddisplay_mode_core_structs.h1800 dml_float_t Tpre_rounded; member