| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | display_mode_vba_util_32.c | 3455 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 D | display_mode_vba_30.c | 787 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() 911 …dst_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 D | display_mode_vba_314.c | 898 double dst_y_prefetch_equ; local 1125 …dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAft… 1126 …dst_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 D | display_mode_vba_31.c | 880 double dst_y_prefetch_equ; local 1107 …dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAft… 1108 …dst_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 D | dml2_core_dcn4_calcs.c | 5111 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 D | display_mode_vba_21.c | 702 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 D | display_mode_core.c | 1007 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 D | display_mode_core_structs.h | 1839 dml_float_t dst_y_prefetch_equ; member
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | display_mode_vba_20.c | 508 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 D | display_mode_vba_20v2.c | 598 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()
|