Home
last modified time | relevance | path

Searched refs:prefetch_sw_bytes (Results 1 – 8 of 8) sorted by relevance

/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared_types.h973 double prefetch_sw_bytes[DML2_MAX_PLANES]; member
1066 double prefetch_sw_bytes[DML2_MAX_PLANES]; member
1814 double *prefetch_sw_bytes; member
1833 double *prefetch_sw_bytes; member
Ddml2_core_dcn4_calcs.c5166 *p->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
5362 …*p->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixel… in CalculatePrefetchSchedule()
5363 *p->prefetch_sw_bytes = *p->prefetch_sw_bytes * p->mall_prefetch_sdp_overhead_factor; in CalculatePrefetchSchedule()
5392 …s->prefetch_bw_oto = math_min2(s->prefetch_bw_oto, *p->prefetch_sw_bytes/(s->min_Lsw_oto*s->LineTi… in CalculatePrefetchSchedule()
5394 s->Lsw_oto = math_ceil2(4.0 * *p->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, 1.0) / 4.0; in CalculatePrefetchSchedule()
5486 dml2_printf("DML::%s: prefetch_sw_bytes = %f\n", __func__, *p->prefetch_sw_bytes); in CalculatePrefetchSchedule()
5570 + *p->prefetch_sw_bytes) in CalculatePrefetchSchedule()
5572 s->Tsw_est1 = *p->prefetch_sw_bytes / s->prefetch_bw1; in CalculatePrefetchSchedule()
5594 s->prefetch_bw2 = (vm_bytes * p->HostVMInefficiencyFactor + *p->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
5596 s->Tsw_est2 = *p->prefetch_sw_bytes / s->prefetch_bw2; in CalculatePrefetchSchedule()
[all …]
Ddml2_core_shared.c7557 s->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
7748 …s->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY… in CalculatePrefetchSchedule()
7750 s->prefetch_sw_bytes = s->prefetch_sw_bytes * p->mall_prefetch_sdp_overhead_factor; in CalculatePrefetchSchedule()
7751 s->prefetch_bw_oto = math_max2(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule()
7767 …s->Lsw_oto = math_ceil2(4.0 * math_max2(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s… in CalculatePrefetchSchedule()
7822 dml2_printf("DML::%s: prefetch_sw_bytes = %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
7868 dml2_printf("DML::%s: prefetch_sw_bytes: %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
7872 if (s->prefetch_sw_bytes < s->dep_bytes) { in CalculatePrefetchSchedule()
7873 s->prefetch_sw_bytes = 2 * s->dep_bytes; in CalculatePrefetchSchedule()
7874 dml2_printf("DML::%s: bump prefetch_sw_bytes to %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c3480 double prefetch_sw_bytes; in dml32_CalculatePrefetchSchedule() local
3640 prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY in dml32_CalculatePrefetchSchedule()
3643 prefetch_sw_bytes / (dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime)); 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()
3693 dml_print("DML::%s: prefetch_sw_bytes = %f\n", __func__, prefetch_sw_bytes); in dml32_CalculatePrefetchSchedule()
3731 if (prefetch_sw_bytes < dep_bytes) in dml32_CalculatePrefetchSchedule()
3732 prefetch_sw_bytes = 2 * dep_bytes; in dml32_CalculatePrefetchSchedule()
3750 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw); in dml32_CalculatePrefetchSchedule()
3751 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1; in dml32_CalculatePrefetchSchedule()
3763 PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / in dml32_CalculatePrefetchSchedule()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c908 double prefetch_sw_bytes; local
1060prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchS…
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;
1113 if (prefetch_sw_bytes < dep_bytes)
1114 prefetch_sw_bytes = 2 * dep_bytes;
1151 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1152 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1;
1163 …PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (T…
1169 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c926 double prefetch_sw_bytes; local
1078prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchS…
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;
1131 if (prefetch_sw_bytes < dep_bytes)
1132 prefetch_sw_bytes = 2 * dep_bytes;
1169 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1170 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1;
1181 …PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (T…
1187 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c1031 s->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
1190 …s->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY… in CalculatePrefetchSchedule()
1191 s->prefetch_bw_oto = dml_max(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule()
1195 …s->Lsw_oto = dml_ceil(4.0 * dml_max(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s->mi… in CalculatePrefetchSchedule()
1239 dml_print("DML::%s: prefetch_sw_bytes = %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
1278 if (s->prefetch_sw_bytes < s->dep_bytes) { in CalculatePrefetchSchedule()
1279 s->prefetch_sw_bytes = 2 * s->dep_bytes; in CalculatePrefetchSchedule()
1292 + s->prefetch_sw_bytes) in CalculatePrefetchSchedule()
1294 s->Tsw_est1 = s->prefetch_sw_bytes / s->PrefetchBandwidth1; in CalculatePrefetchSchedule()
1304 …tchBandwidth2 = (p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor + s->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
[all …]
Ddisplay_mode_core_structs.h1864 dml_float_t prefetch_sw_bytes; member