| /linux-6.15/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 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() 3740 if (dst_y_prefetch_equ > 1 && in dml32_CalculatePrefetchSchedule() 3886 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { in dml32_CalculatePrefetchSchedule() 3888 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in dml32_CalculatePrefetchSchedule() 3917 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in dml32_CalculatePrefetchSchedule() 3922 LinesForPrefetchBandwidth = dst_y_prefetch_equ; in dml32_CalculatePrefetchSchedule() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 881 double dst_y_prefetch_equ = 0; in CalculatePrefetchSchedule() local 1003 dst_y_prefetch_equ = VStartup - (Tsetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime in CalculatePrefetchSchedule() 1029 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 1030 Tpre_rounded = dst_y_prefetch_equ * LineTime; in CalculatePrefetchSchedule() 1033 dml_print("DML: dst_y_prefetch_equ: %f\n", dst_y_prefetch_equ); in CalculatePrefetchSchedule() 1055 if (dst_y_prefetch_equ > 1) { in CalculatePrefetchSchedule() 1176 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { in CalculatePrefetchSchedule() 1182 *DestinationLinesForPrefetch = dst_y_prefetch_equ; in CalculatePrefetchSchedule()
|
| /linux-6.15/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_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; 1109 Tpre_rounded = dst_y_prefetch_equ * LineTime; 1121 dml_print("DML: dst_y_prefetch_equ: %f (after round)\n", dst_y_prefetch_equ); 1143 if (dst_y_prefetch_equ > 1) { 1268 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { 1274 *DestinationLinesForPrefetch = dst_y_prefetch_equ;
|
| /linux-6.15/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_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; 1127 Tpre_rounded = dst_y_prefetch_equ * LineTime; 1139 dml_print("DML: dst_y_prefetch_equ: %f (after round)\n", dst_y_prefetch_equ); 1161 if (dst_y_prefetch_equ > 1) { 1286 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { 1292 *DestinationLinesForPrefetch = dst_y_prefetch_equ;
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn4_calcs.c | 5154 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule() 5488 if (s->dst_y_prefetch_equ_impacted > s->dst_y_prefetch_equ) in CalculatePrefetchSchedule() 5489 s->dst_y_prefetch_equ -= s->dst_y_prefetch_equ_impacted - s->dst_y_prefetch_equ; in CalculatePrefetchSchedule() 5492 …s->dst_y_prefetch_equ = math_min2(s->dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2… in CalculatePrefetchSchedule() 5531 double Tpre = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 5532 s->dst_y_prefetch_equ = math_floor2(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 5533 *p->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 5583 if (s->dst_y_prefetch_equ > 1 && min_Lsw_equ_ok && tpre_gt_req_latency) { in CalculatePrefetchSchedule() 5764 if (s->dst_y_prefetch_oto < s->dst_y_prefetch_equ) { in CalculatePrefetchSchedule() 5776 *p->dst_y_prefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule() [all …]
|
| H A D | dml2_core_shared_types.h | 1224 double dst_y_prefetch_equ; member
|
| /linux-6.15/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-6.15/drivers/gpu/drm/amd/display/dc/dml2/ |
| 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 | 1840 dml_float_t dst_y_prefetch_equ; member
|
| /linux-6.15/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()
|