Home
last modified time | relevance | path

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

/linux/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()
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/drivers/gpu/drm/amd/display/dc/dml/dcn314/ !
H A 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;
1132 if (prefetch_sw_bytes < dep_bytes)
1133 prefetch_sw_bytes = 2 * dep_bytes;
1170 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1171 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1;
1182 …PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (T…
1188 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ !
H A 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;
1114 if (prefetch_sw_bytes < dep_bytes)
1115 prefetch_sw_bytes = 2 * dep_bytes;
1152 + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw);
1153 Tsw_est1 = prefetch_sw_bytes / PrefetchBandwidth1;
1164 …PrefetchBandwidth2 = (PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor + prefetch_sw_bytes) / (T…
1170 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/ !
H A Ddml2_core_dcn4_calcs.c5136 *p->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
5333 …*p->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixel… in CalculatePrefetchSchedule()
5334 *p->prefetch_sw_bytes = *p->prefetch_sw_bytes * p->mall_prefetch_sdp_overhead_factor; 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()
5466 DML_LOG_VERBOSE("DML::%s: prefetch_sw_bytes = %f\n", __func__, *p->prefetch_sw_bytes); in CalculatePrefetchSchedule()
5549 + *p->prefetch_sw_bytes) in CalculatePrefetchSchedule()
5551 s->Tsw_est1 = *p->prefetch_sw_bytes / s->prefetch_bw1; in CalculatePrefetchSchedule()
5573 s->prefetch_bw2 = (vm_bytes * p->HostVMInefficiencyFactor + *p->prefetch_sw_bytes) / in CalculatePrefetchSchedule()
5575 s->Tsw_est2 = *p->prefetch_sw_bytes / s->prefetch_bw2; in CalculatePrefetchSchedule()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/ !
H A Ddisplay_mode_core.c1032 s->prefetch_sw_bytes = 0.0; in CalculatePrefetchSchedule()
1191 …s->prefetch_sw_bytes = p->PrefetchSourceLinesY * p->swath_width_luma_ub * p->myPipe->BytePerPixelY… 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()
[all …]
H A Ddisplay_mode_core_structs.h1864 dml_float_t prefetch_sw_bytes; member