Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h979 double prefetch_sw_bytes[DML2_MAX_PLANES]; member
1072 double prefetch_sw_bytes[DML2_MAX_PLANES]; member
1822 double *prefetch_sw_bytes; member
1841 double *prefetch_sw_bytes; member
H A Ddml2_core_dcn4_calcs.c5179 *p->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
5377 *p->prefetch_sw_bytes = *p->prefetch_sw_bytes * p->mall_prefetch_sdp_overhead_factor; in CalculatePrefetchSchedule()
5509 dml2_printf("DML::%s: prefetch_sw_bytes = %f\n", __func__, *p->prefetch_sw_bytes); in CalculatePrefetchSchedule()
5593 + *p->prefetch_sw_bytes) in CalculatePrefetchSchedule()
5595 s->Tsw_est1 = *p->prefetch_sw_bytes / s->prefetch_bw1; in CalculatePrefetchSchedule()
5619 s->Tsw_est2 = *p->prefetch_sw_bytes / s->prefetch_bw2; in CalculatePrefetchSchedule()
5633 s->Tsw_est3 = *p->prefetch_sw_bytes / s->prefetch_bw3; in CalculatePrefetchSchedule()
9115 CalculatePrefetchSchedule_params->prefetch_sw_bytes = &s->prefetch_sw_bytes[k]; in dml_core_mode_support()
9302 CheckGlobalPrefetchAdmissibility_params->prefetch_sw_bytes = s->prefetch_sw_bytes; in dml_core_mode_support()
11204 CheckGlobalPrefetchAdmissibility_params->prefetch_sw_bytes = s->prefetch_sw_bytes; in dml_core_mode_programming()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A 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()
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()
3770 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded); in dml32_CalculatePrefetchSchedule()
3771 Tsw_est3 = prefetch_sw_bytes / PrefetchBandwidth3; in dml32_CalculatePrefetchSchedule()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c908 double prefetch_sw_bytes; 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;
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);
1170 Tsw_est3 = prefetch_sw_bytes / PrefetchBandwidth3;
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c926 double prefetch_sw_bytes; 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;
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);
1188 Tsw_est3 = prefetch_sw_bytes / PrefetchBandwidth3;
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c1032 s->prefetch_sw_bytes = 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()
1240 dml_print("DML::%s: prefetch_sw_bytes = %f\n", __func__, s->prefetch_sw_bytes); in CalculatePrefetchSchedule()
1279 if (s->prefetch_sw_bytes < s->dep_bytes) { in CalculatePrefetchSchedule()
1280 s->prefetch_sw_bytes = 2 * s->dep_bytes; in CalculatePrefetchSchedule()
1293 + s->prefetch_sw_bytes) in CalculatePrefetchSchedule()
1295 s->Tsw_est1 = s->prefetch_sw_bytes / s->PrefetchBandwidth1; in CalculatePrefetchSchedule()
1305 …tchBandwidth2 = (p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor + s->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
1313 s->Tsw_est3 = s->prefetch_sw_bytes / s->PrefetchBandwidth3; in CalculatePrefetchSchedule()
[all …]
H A Ddisplay_mode_core_structs.h1865 dml_float_t prefetch_sw_bytes; member