Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c3476 double prefetch_sw_bytes; in dml32_CalculatePrefetchSchedule() local
3636 prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY in dml32_CalculatePrefetchSchedule()
3639 prefetch_sw_bytes / (dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime)); in dml32_CalculatePrefetchSchedule()
3643 …Lsw_oto = dml_ceil(4.0 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1.0) / … in dml32_CalculatePrefetchSchedule()
3689 dml_print("DML::%s: prefetch_sw_bytes = %f\n", __func__, prefetch_sw_bytes); in dml32_CalculatePrefetchSchedule()
3727 if (prefetch_sw_bytes < dep_bytes) in dml32_CalculatePrefetchSchedule()
3728 prefetch_sw_bytes = 2 * dep_bytes; in dml32_CalculatePrefetchSchedule()
3746 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw); in dml32_CalculatePrefetchSchedule()
3747 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1; in dml32_CalculatePrefetchSchedule()
3759 PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / in dml32_CalculatePrefetchSchedule()
[all …]
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
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 …]
Ddml2_core_shared_types.h1214 double prefetch_sw_bytes; member
Ddml2_core_dcn4_calcs.c5079 s->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
5279 …s->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY… in CalculatePrefetchSchedule()
5281 s->prefetch_sw_bytes = s->prefetch_sw_bytes * p->mall_prefetch_sdp_overhead_factor; in CalculatePrefetchSchedule()
5282 s->prefetch_bw_oto = math_max2(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule()
5302 …s->Lsw_oto = math_ceil2(4.0 * math_max2(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s… in CalculatePrefetchSchedule()
5367 dml2_printf("DML::%s: prefetch_sw_bytes = %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
5444 + s->prefetch_sw_bytes) in CalculatePrefetchSchedule()
5446 s->Tsw_est1 = s->prefetch_sw_bytes / s->prefetch_bw1; in CalculatePrefetchSchedule()
5468 s->prefetch_bw2 = (vm_bytes * p->HostVMInefficiencyFactor + s->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
5470 s->Tsw_est2 = s->prefetch_sw_bytes / s->prefetch_bw2; in CalculatePrefetchSchedule()
[all …]
/linux-6.12.1/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()
1238 dml_print("DML::%s: prefetch_sw_bytes = %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
1277 if (s->prefetch_sw_bytes < s->dep_bytes) { in CalculatePrefetchSchedule()
1278 s->prefetch_sw_bytes = 2 * s->dep_bytes; in CalculatePrefetchSchedule()
1291 + s->prefetch_sw_bytes) in CalculatePrefetchSchedule()
1293 s->Tsw_est1 = s->prefetch_sw_bytes / s->PrefetchBandwidth1; in CalculatePrefetchSchedule()
1303 …tchBandwidth2 = (p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor + s->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
[all …]
Ddisplay_mode_core_structs.h1807 dml_float_t prefetch_sw_bytes; member