Searched refs:Tr0_trips_rounded (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 3467 double Tr0_trips_rounded; in dml32_CalculatePrefetchSchedule() local 3606 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1.0) / 4.0 * LineTime; in dml32_CalculatePrefetchSchedule() 3611 Tr0_trips_rounded = dml_ceil(4.0 * UrgentExtraLatency / LineTime, 1.0) / in dml32_CalculatePrefetchSchedule() 3619 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1.0) / 4.0 * LineTime; in dml32_CalculatePrefetchSchedule() 3623 Tr0_trips_rounded = LineTime / 2.0; in dml32_CalculatePrefetchSchedule() 3627 Tr0_trips_rounded = dml_max(Tr0_trips_rounded, LineTime / 4.0); in dml32_CalculatePrefetchSchedule() 3758 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) in dml32_CalculatePrefetchSchedule() 3760 (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded); in dml32_CalculatePrefetchSchedule() 3779 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() 3781 (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded); in dml32_CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 898 double Tr0_trips_rounded = 0; in CalculatePrefetchSchedule() local 991 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; in CalculatePrefetchSchedule() 1074 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 1080 (Tpre_rounded - *Tno_bw - 2 * Tr0_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 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth1 >= Tr0_trips_rounded) { in CalculatePrefetchSchedule() 1121 …wByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth2 < Tr0_trips_rounded) { in CalculatePrefetchSchedule() 1132 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth3 >= Tr0_trips_rounded) { in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 899 double Tr0_trips_rounded; local 1026 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; 1031 Tr0_trips_rounded = 0.0; 1162 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) 1163 …* HostVMInefficiencyFactor + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded); 1185 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) 1186 …refetchBandwidth4 = prefetch_sw_bytes / (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded); 1197 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth1 >= Tr0_trips_rounded) { 1208 …wByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth2 < Tr0_trips_rounded) { 1219 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth3 >= Tr0_trips_rounded) {
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 917 double Tr0_trips_rounded; local 1044 Tr0_trips_rounded = dml_ceil(4.0 * Tr0_trips / LineTime, 1) / 4 * LineTime; 1049 Tr0_trips_rounded = 0.0; 1180 if (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded > 0) 1181 …* HostVMInefficiencyFactor + prefetch_sw_bytes) / (Tpre_rounded - *Tno_bw - 2 * Tr0_trips_rounded); 1203 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) 1204 …refetchBandwidth4 = prefetch_sw_bytes / (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded); 1215 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth1 >= Tr0_trips_rounded) { 1226 …wByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth2 < Tr0_trips_rounded) { 1237 …Byte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / PrefetchBandwidth3 >= Tr0_trips_rounded) {
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4_calcs.c | 5069 s->Tr0_trips_rounded = 0.0; in CalculatePrefetchSchedule() 5242 s->Tr0_trips_rounded = math_ceil2(4.0 * *p->Tr0_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 5245 s->Tr0_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 5248 s->Tr0_trips_rounded = math_max2(s->Tr0_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 5432 …bool min_Lsw_equ_ok = s->Tpre_rounded >= s->Tvm_trips_rounded + 2.0*s->Tr0_trips_rounded + s->min_… in CalculatePrefetchSchedule() 5467 if (s->Tpre_rounded - *p->Tno_bw - 2.0 * s->Tr0_trips_rounded > 0) { in CalculatePrefetchSchedule() 5469 (s->Tpre_rounded - *p->Tno_bw - 2.0 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() 5475 …Lsw_equ * s->LineTime) && ((s->Tpre_rounded - *p->Tno_bw - 2.0 * s->Tr0_trips_rounded - s->min_Lsw… in CalculatePrefetchSchedule() 5476 …HostVMInefficiencyFactor / (s->Tpre_rounded - *p->Tno_bw - 2.0 * s->Tr0_trips_rounded - s->min_Lsw… in CalculatePrefetchSchedule() 5495 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared_types.h | 1203 double Tr0_trips_rounded; member
|
D | dml2_core_shared.c | 7547 s->Tr0_trips_rounded = 0.0; in CalculatePrefetchSchedule() 7714 s->Tr0_trips_rounded = math_ceil2(4.0 * *p->Tr0_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 7717 s->Tr0_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 7720 s->Tr0_trips_rounded = math_max2(s->Tr0_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 7905 if (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 7907 (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() 7925 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 7926 …h_bw4 = s->prefetch_sw_bytes / (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() 7934 dml2_printf("DML::%s: Tr0_trips_rounded: %f\n", __func__, 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() 7950 …fficiencyFactor + p->meta_row_bytes + tdlut_row_bytes) / s->prefetch_bw1 >= s->Tr0_trips_rounded) { in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 1021 s->Tr0_trips_rounded = 0.0; in CalculatePrefetchSchedule() 1157 s->Tr0_trips_rounded = dml_ceil(4.0 * s->Tr0_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1161 …s->Tr0_trips_rounded = dml_ceil(4.0 * p->UrgentExtraLatency / s->LineTime, 1.0) / 4.0 * s->LineTim… in CalculatePrefetchSchedule() 1168 s->Tr0_trips_rounded = dml_ceil(4.0 * s->Tr0_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1172 s->Tr0_trips_rounded = s->LineTime / 2.0; in CalculatePrefetchSchedule() 1176 s->Tr0_trips_rounded = dml_max(s->Tr0_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 1302 if (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 1304 (s->Tpre_rounded - *p->Tno_bw - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() 1321 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 1322 …idth4 = s->prefetch_sw_bytes / (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded); in CalculatePrefetchSchedule() [all …]
|
D | display_mode_core_structs.h | 1797 dml_float_t Tr0_trips_rounded; member
|