Home
last modified time | relevance | path

Searched refs:dst_y_prefetch_equ (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c3455 double dst_y_prefetch_equ; in dml32_CalculatePrefetchSchedule() local
3677 dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - in dml32_CalculatePrefetchSchedule()
3680 dst_y_prefetch_equ = dml_min(dst_y_prefetch_equ, __DML_VBA_MAX_DST_Y_PRE__); in dml32_CalculatePrefetchSchedule()
3708 dml_print("DML::%s: dst_y_prefetch_equ = %f\n", __func__, dst_y_prefetch_equ); in dml32_CalculatePrefetchSchedule()
3711 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in dml32_CalculatePrefetchSchedule()
3712 Tpre_rounded = dst_y_prefetch_equ * LineTime; in dml32_CalculatePrefetchSchedule()
3714 dml_print("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, dst_y_prefetch_equ); in dml32_CalculatePrefetchSchedule()
3740 if (dst_y_prefetch_equ > 1 && in dml32_CalculatePrefetchSchedule()
3741 (Tpre_rounded >= TPreReq || dst_y_prefetch_equ == __DML_VBA_MAX_DST_Y_PRE__)) { in dml32_CalculatePrefetchSchedule()
3886 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { in dml32_CalculatePrefetchSchedule()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c787 double dst_y_prefetch_equ = 0; in CalculatePrefetchSchedule() local
909 dst_y_prefetch_equ = VStartup - (Tsetup + dml_max(TWait + TCalc, v->Tdmdl[k])) / LineTime in CalculatePrefetchSchedule()
911dst_y_prefetch_equ = dml_min(dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2 for DST… in CalculatePrefetchSchedule()
936 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule()
937 Tpre_rounded = dst_y_prefetch_equ * LineTime; in CalculatePrefetchSchedule()
940 dml_print("DML: dst_y_prefetch_equ: %f\n", dst_y_prefetch_equ); in CalculatePrefetchSchedule()
962 if (dst_y_prefetch_equ > 1) { in CalculatePrefetchSchedule()
1083 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { in CalculatePrefetchSchedule()
1089 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c898 double dst_y_prefetch_equ; local
1125dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAft…
1126dst_y_prefetch_equ = dml_min(dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2 for DST…
1127 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0;
1128 Tpre_rounded = dst_y_prefetch_equ * LineTime;
1140 dml_print("DML: dst_y_prefetch_equ: %f (after round)\n", dst_y_prefetch_equ);
1162 if (dst_y_prefetch_equ > 1) {
1287 if (dst_y_prefetch_oto < dst_y_prefetch_equ) {
1293 *DestinationLinesForPrefetch = dst_y_prefetch_equ;
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c880 double dst_y_prefetch_equ; local
1107dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAft…
1108dst_y_prefetch_equ = dml_min(dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2 for DST…
1109 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0;
1110 Tpre_rounded = dst_y_prefetch_equ * LineTime;
1122 dml_print("DML: dst_y_prefetch_equ: %f (after round)\n", dst_y_prefetch_equ);
1144 if (dst_y_prefetch_equ > 1) {
1269 if (dst_y_prefetch_oto < dst_y_prefetch_equ) {
1275 *DestinationLinesForPrefetch = dst_y_prefetch_equ;
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c5111 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule()
5436 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(p->TCalc, *p->Tvm_trips) + s->TWait_… in CalculatePrefetchSchedule()
5438 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(p->TCalc, p->ExtraLatencyPrefetch) +… in CalculatePrefetchSchedule()
5441 s->dst_y_prefetch_equ_impacted = math_max2(p->impacted_dst_y_pre, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule()
5445 if (s->dst_y_prefetch_equ_impacted > s->dst_y_prefetch_equ) in CalculatePrefetchSchedule()
5446 s->dst_y_prefetch_equ -= s->dst_y_prefetch_equ_impacted - s->dst_y_prefetch_equ; in CalculatePrefetchSchedule()
5449 …s->dst_y_prefetch_equ = math_min2(s->dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2… in CalculatePrefetchSchedule()
5484 DML_LOG_VERBOSE("DML::%s: dst_y_prefetch_equ = %f\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule()
5488 s->dst_y_prefetch_equ = math_floor2(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule()
5489 *p->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_mode_vba_21.c702 double dst_y_prefetch_equ; in CalculatePrefetchSchedule() local
801 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
839 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule()
841 if (dst_y_prefetch_oto < dst_y_prefetch_equ) in CalculatePrefetchSchedule()
844 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in CalculatePrefetchSchedule()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core.c1007 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule()
1225 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + dml_max(p->TWait + p->TCalc, *p->Tdmdl)) / s->… in CalculatePrefetchSchedule()
1226 …s->dst_y_prefetch_equ = dml_min(s->dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2 f… in CalculatePrefetchSchedule()
1255 dml_print("DML::%s: dst_y_prefetch_equ = %f\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule()
1258 s->dst_y_prefetch_equ = dml_floor(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule()
1259 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule()
1261 dml_print("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule()
1288 if (s->dst_y_prefetch_equ > 1) { in CalculatePrefetchSchedule()
1411 if (s->dst_y_prefetch_oto < s->dst_y_prefetch_equ) { in CalculatePrefetchSchedule()
1419 *p->DestinationLinesForPrefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule()
[all …]
H A Ddisplay_mode_core_structs.h1839 dml_float_t dst_y_prefetch_equ; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_mode_vba_20.c508 double dst_y_prefetch_equ; in CalculatePrefetchSchedule() local
594 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
629 if (dst_y_prefetch_oto < dst_y_prefetch_equ) in CalculatePrefetchSchedule()
632 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in CalculatePrefetchSchedule()
H A Ddisplay_mode_vba_20v2.c598 double dst_y_prefetch_equ; in CalculatePrefetchSchedule() local
654 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule()
689 if (dst_y_prefetch_oto < dst_y_prefetch_equ) in CalculatePrefetchSchedule()
692 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in CalculatePrefetchSchedule()