Searched refs:Tvm_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 | 3466 double Tvm_trips_rounded; in dml32_CalculatePrefetchSchedule() local 3605 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1.0) / 4.0 * LineTime; in dml32_CalculatePrefetchSchedule() 3618 Tvm_trips_rounded = LineTime / 4.0; in dml32_CalculatePrefetchSchedule() 3622 Tvm_trips_rounded = LineTime / 4.0; in dml32_CalculatePrefetchSchedule() 3626 Tvm_trips_rounded = dml_max(Tvm_trips_rounded, LineTime / 4.0); in dml32_CalculatePrefetchSchedule() 3764 if (Tpre_rounded - Tvm_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() 3766 + prefetch_sw_bytes) / (Tpre_rounded - Tvm_trips_rounded); in dml32_CalculatePrefetchSchedule() 3774 LineTime - Tvm_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() 3776 / (Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - Tvm_trips_rounded); in dml32_CalculatePrefetchSchedule() 3779 if (Tpre_rounded - Tvm_trips_rounded - 2 * Tr0_trips_rounded > 0) { in dml32_CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
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); 1180 …ineTime < min_Lsw && Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - Tvm_trips_rounded > 0) { 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… [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
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); 1198 …ineTime < min_Lsw && Tpre_rounded - min_Lsw * LineTime - 0.75 * LineTime - Tvm_trips_rounded > 0) { 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… [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
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.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_dcn4_calcs.c | 5068 s->Tvm_trips_rounded = 0.0; in CalculatePrefetchSchedule() 5228 s->Tvm_trips_rounded = math_ceil2(4.0 * *p->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 5232 …s->Tvm_trips_rounded = math_max2(s->LineTime * math_ceil2(4.0*math_max3(p->ExtraLatencyPrefetch, p… in CalculatePrefetchSchedule() 5234 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 5238 s->Tvm_trips_rounded = math_max2(s->Tvm_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 5317 s->Tvm_no_trip_oto = s->Tvm_trips_rounded; in CalculatePrefetchSchedule() 5318 s->Tvm_oto = s->Tvm_trips_rounded; in CalculatePrefetchSchedule() 5418 …s_rounded: %f, delta=%f\n", __func__, *p->Tvm_trips, s->Tvm_trips_rounded, (s->Tvm_trips_rounded -… 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() 5481 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared.c | 7546 s->Tvm_trips_rounded = 0.0; in CalculatePrefetchSchedule() 7704 s->Tvm_trips_rounded = math_ceil2(4.0 * *p->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 7707 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 7710 s->Tvm_trips_rounded = math_max2(s->Tvm_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 7911 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 7913 (s->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 7920 …&& s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.5 * s->LineTime - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 7921 …es)) / (s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.5 * s->LineTime - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 7925 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() 7926 …s->prefetch_bw4 = s->prefetch_sw_bytes / (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trip… in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared_types.h | 1202 double Tvm_trips_rounded; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 1020 s->Tvm_trips_rounded = 0.0; in CalculatePrefetchSchedule() 1156 s->Tvm_trips_rounded = dml_ceil(4.0 * s->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 1167 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 1171 s->Tvm_trips_rounded = s->LineTime / 4.0; in CalculatePrefetchSchedule() 1175 s->Tvm_trips_rounded = dml_max(s->Tvm_trips_rounded, s->LineTime / 4.0); in CalculatePrefetchSchedule() 1308 if (s->Tpre_rounded - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 1310 (s->Tpre_rounded - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 1317 …&& s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.5 * s->LineTime - s->Tvm_trips_rounded > 0) { in CalculatePrefetchSchedule() 1318 …tor) / (s->Tpre_rounded - s->min_Lsw_oto * s->LineTime - 0.5 * s->LineTime - s->Tvm_trips_rounded); in CalculatePrefetchSchedule() 1321 if (s->Tpre_rounded - s->Tvm_trips_rounded - 2 * s->Tr0_trips_rounded > 0) in CalculatePrefetchSchedule() [all …]
|
D | display_mode_core_structs.h | 1796 dml_float_t Tvm_trips_rounded; member
|