/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 3451 double dst_y_prefetch_equ; in dml32_CalculatePrefetchSchedule() local 3673 dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - in dml32_CalculatePrefetchSchedule() 3676 dst_y_prefetch_equ = dml_min(dst_y_prefetch_equ, __DML_VBA_MAX_DST_Y_PRE__); in dml32_CalculatePrefetchSchedule() 3704 dml_print("DML::%s: dst_y_prefetch_equ = %f\n", __func__, dst_y_prefetch_equ); in dml32_CalculatePrefetchSchedule() 3707 dst_y_prefetch_equ = dml_floor(4.0 * (dst_y_prefetch_equ + 0.125), 1) / 4.0; in dml32_CalculatePrefetchSchedule() 3708 Tpre_rounded = dst_y_prefetch_equ * LineTime; in dml32_CalculatePrefetchSchedule() 3710 dml_print("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, dst_y_prefetch_equ); in dml32_CalculatePrefetchSchedule() 3736 if (dst_y_prefetch_equ > 1 && in dml32_CalculatePrefetchSchedule() 3737 (Tpre_rounded >= TPreReq || dst_y_prefetch_equ == __DML_VBA_MAX_DST_Y_PRE__)) { in dml32_CalculatePrefetchSchedule() 3882 if (dst_y_prefetch_oto < dst_y_prefetch_equ) { in dml32_CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
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.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 1186 double dst_y_prefetch_equ; member
|
D | dml2_core_dcn4_calcs.c | 5052 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule() 5347 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(p->TCalc, *p->Tvm_trips) + s->TWait_… in CalculatePrefetchSchedule() 5349 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(p->TCalc, p->ExtraLatencyPrefetch) +… in CalculatePrefetchSchedule() 5350 …s->dst_y_prefetch_equ = math_min2(s->dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2… in CalculatePrefetchSchedule() 5385 dml2_printf("DML::%s: dst_y_prefetch_equ = %f\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 5389 double Tpre = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 5390 s->dst_y_prefetch_equ = math_floor2(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 5391 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 5394 dml2_printf("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 5434 if (s->dst_y_prefetch_equ > 1 && min_Lsw_equ_ok) { in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared.c | 7532 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule() 7805 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(s->TWait_p + p->TCalc, *p->Tdmdl - p… in CalculatePrefetchSchedule() 7806 …s->dst_y_prefetch_equ = math_min2(s->dst_y_prefetch_equ, 63.75); // limit to the reg limit of U6.2… in CalculatePrefetchSchedule() 7840 dml2_printf("DML::%s: dst_y_prefetch_equ = %f\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 7845 s->dst_y_prefetch_equ = math_floor2(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 7846 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 7848 dml2_printf("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 7883 if (s->dst_y_prefetch_equ > 1) { in CalculatePrefetchSchedule() 8014 if (s->dst_y_prefetch_oto < s->dst_y_prefetch_equ) { in CalculatePrefetchSchedule() 8026 *p->dst_y_prefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 1006 s->dst_y_prefetch_equ = 0.0; in CalculatePrefetchSchedule() 1224 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + dml_max(p->TWait + p->TCalc, *p->Tdmdl)) / s->… in CalculatePrefetchSchedule() 1253 dml_print("DML::%s: dst_y_prefetch_equ = %f\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 1256 s->dst_y_prefetch_equ = dml_floor(4.0 * (s->dst_y_prefetch_equ + 0.125), 1) / 4.0; in CalculatePrefetchSchedule() 1257 s->Tpre_rounded = s->dst_y_prefetch_equ * s->LineTime; in CalculatePrefetchSchedule() 1259 dml_print("DML::%s: dst_y_prefetch_equ: %f (after round)\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule() 1286 if (s->dst_y_prefetch_equ > 1) { in CalculatePrefetchSchedule() 1409 if (s->dst_y_prefetch_oto < s->dst_y_prefetch_equ) { in CalculatePrefetchSchedule() 1417 *p->DestinationLinesForPrefetch = s->dst_y_prefetch_equ; in CalculatePrefetchSchedule() 1522 …("DML::%s: MyErr set, dst_y_prefetch_equ = %f (should be > 1)\n", __func__, s->dst_y_prefetch_equ); in CalculatePrefetchSchedule()
|
D | display_mode_core_structs.h | 1782 dml_float_t dst_y_prefetch_equ; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
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()
|
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()
|