Searched refs:Tvm_trips_rounded (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | display_mode_vba_util_32.c | 3470 double Tvm_trips_rounded; in dml32_CalculatePrefetchSchedule() local 3622 Tvm_trips_rounded = LineTime / 4.0; in dml32_CalculatePrefetchSchedule() 3626 Tvm_trips_rounded = LineTime / 4.0; in dml32_CalculatePrefetchSchedule() 3630 Tvm_trips_rounded = dml_max(Tvm_trips_rounded, LineTime / 4.0); in dml32_CalculatePrefetchSchedule() 3768 if (Tpre_rounded - Tvm_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() 3770 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded); in dml32_CalculatePrefetchSchedule() 3778 LineTime - Tvm_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() 3785 (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded); in dml32_CalculatePrefetchSchedule() 3808 >= Tvm_trips_rounded in dml32_CalculatePrefetchSchedule() 3821 >= Tvm_trips_rounded in dml32_CalculatePrefetchSchedule() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| H A D | display_mode_vba_31.c | 898 double Tvm_trips_rounded; local 1025 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1037 Tvm_trips_rounded = 0.0; 1167 if (Tpre_rounded - Tvm_trips_rounded > 0) { 1169 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded); 1177 dml_print("DML::%s: Tvm_trips_rounded: %f\n", __func__, Tvm_trips_rounded); 1182 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - Tvm_trips_rounded); 1185 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) 1186 …PrefetchBandwidth4 = prefetch_sw_bytes / (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded… 1196 …o_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / PrefetchBandwidth1 >= Tvm_trips_rounded [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| H A D | display_mode_vba_314.c | 916 double Tvm_trips_rounded; local 1043 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1055 Tvm_trips_rounded = 0.0; 1185 if (Tpre_rounded - Tvm_trips_rounded > 0) { 1187 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded); 1195 dml_print("DML::%s: Tvm_trips_rounded: %f\n", __func__, Tvm_trips_rounded); 1200 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - Tvm_trips_rounded); 1203 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) 1204 …PrefetchBandwidth4 = prefetch_sw_bytes / (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded… 1214 …o_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / PrefetchBandwidth1 >= Tvm_trips_rounded [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_mode_vba_30.c | 897 double Tvm_trips_rounded = 0; in CalculatePrefetchSchedule() local 990 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; in CalculatePrefetchSchedule() 1084 if (Tpre_rounded - Tvm_trips_rounded > 0) in CalculatePrefetchSchedule() 1089 Tvm_trips_rounded); in CalculatePrefetchSchedule() 1093 …3 > 4 * prefetch_bw_oto) && Tpre_rounded - Tsw_oto / 4 - 0.75 * LineTime - Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 1094 …w * HostVMInefficiencyFactor) / (Tpre_rounded - Tsw_oto / 4 - 0.75 * LineTime - Tvm_trips_rounded); in CalculatePrefetchSchedule() 1097 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 1099 / (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded); in CalculatePrefetchSchedule() 1110 …>= Tvm_trips_rounded && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchB… in CalculatePrefetchSchedule() 1121 …>= Tvm_trips_rounded && (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchB… in CalculatePrefetchSchedule() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn4_calcs.c | 5168 s->Tvm_trips_rounded = 0.0; in CalculatePrefetchSchedule() 5336 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 5340 s->Tvm_trips_rounded = math_max2(s->Tvm_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 5441 s->Tvm_oto = s->Tvm_trips_rounded; in CalculatePrefetchSchedule() 5560 …s_rounded: %f, delta=%f\n", __func__, *p->Tvm_trips, s->Tvm_trips_rounded, (s->Tvm_trips_rounded -… in CalculatePrefetchSchedule() 5630 if (*p->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 5632 (*p->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 5644 if (*p->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 5652 …s_rounded: %f, delta=%f\n", __func__, *p->Tvm_trips, s->Tvm_trips_rounded, (s->Tvm_trips_rounded -… in CalculatePrefetchSchedule() 5679 dml2_printf("DML::%s: Tvm_trips_rounded = %f\n", __func__, s->Tvm_trips_rounded); in CalculatePrefetchSchedule() [all …]
|
| H A D | dml2_core_shared_types.h | 1237 double Tvm_trips_rounded; member
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/ |
| H A D | display_mode_core.c | 1021 s->Tvm_trips_rounded = 0.0; in CalculatePrefetchSchedule() 1157 s->Tvm_trips_rounded = dml_ceil(4.0 * s->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1168 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 1172 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 1176 s->Tvm_trips_rounded = dml_max(s->Tvm_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 1310 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 1312 (s->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 1319 …&& s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.5 * s->LineTime - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 1323 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 1324 …s->PrefetchBandwidth4 = s->prefetch_sw_bytes / (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr… in CalculatePrefetchSchedule() [all …]
|
| H A D | display_mode_core_structs.h | 1854 dml_float_t Tvm_trips_rounded; member
|