/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 933 double Tvm_trips[DML2_MAX_PLANES]; member 1034 double Tvm_trips[DML2_MAX_PLANES]; member 1770 double *Tvm_trips; member
|
D | dml2_core_dcn4_calcs.c | 5064 *p->Tvm_trips = 0.0; in CalculatePrefetchSchedule() 5140 …*p->Tvm_trips = p->ExtraLatencyPrefetch + math_max2(s->trip_to_mem * (p->display_cfg->gpuvm_max_pa… in CalculatePrefetchSchedule() 5142 *p->Tvm_trips_flip = *p->Tvm_trips; in CalculatePrefetchSchedule() 5144 *p->Tvm_trips_flip = *p->Tvm_trips - s->trip_to_mem; in CalculatePrefetchSchedule() 5150 *p->Tdmdl_vm = s->TWait_p + *p->Tvm_trips; in CalculatePrefetchSchedule() 5221 dml2_printf("DML::%s: Tvm_trips = %f\n", __func__, *p->Tvm_trips); in CalculatePrefetchSchedule() 5228 s->Tvm_trips_rounded = math_ceil2(4.0 * *p->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 5309 *p->Tvm_trips, in CalculatePrefetchSchedule() 5312 dml2_printf("DML::%s: Tvm_oto max0 = %f\n", __func__, *p->Tvm_trips); in CalculatePrefetchSchedule() 5347 …s->dst_y_prefetch_equ = p->VStartup - (*p->TSetup + math_max2(p->TCalc, *p->Tvm_trips) + s->TWait_… in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared.c | 2389 CalculatePrefetchSchedule_params->Tvm_trips = &s->Tvm_trips[k]; in dml2_core_shared_mode_support() 7544 *p->Tvm_trips = 0.0; in CalculatePrefetchSchedule() 7616 …*p->Tvm_trips = p->ExtraLatencyPrefetch + s->trip_to_mem * (p->display_cfg->gpuvm_max_page_table_l… in CalculatePrefetchSchedule() 7618 *p->Tvm_trips_flip = *p->Tvm_trips; in CalculatePrefetchSchedule() 7620 *p->Tvm_trips_flip = *p->Tvm_trips - s->trip_to_mem; in CalculatePrefetchSchedule() 7625 *p->Tdmdl_vm = s->TWait_p + *p->Tvm_trips; in CalculatePrefetchSchedule() 7697 dml2_printf("DML::%s: Tvm_trips = %f\n", __func__, *p->Tvm_trips); in CalculatePrefetchSchedule() 7704 s->Tvm_trips_rounded = math_ceil2(4.0 * *p->Tvm_trips / s->LineTime, 1.0) / 4.0 * s->LineTime; in CalculatePrefetchSchedule() 7771 *p->Tvm_trips, in CalculatePrefetchSchedule() 7776 dml2_printf("DML::%s: Tvm_oto max0 = %f\n", __func__, *p->Tvm_trips); in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 3464 double Tvm_trips; in dml32_CalculatePrefetchSchedule() local 3519 …Tvm_trips = UrgentExtraLatency + trip_to_mem * (v->GPUVMMaxPageTableLevels * (HostVMDynamicLevelsT… in dml32_CalculatePrefetchSchedule() 3522 *Tdmdl = TWait + Tvm_trips + trip_to_mem; in dml32_CalculatePrefetchSchedule() 3552 v->GPUVMEnable == true ? TWait + Tvm_trips : 0); in dml32_CalculatePrefetchSchedule() 3605 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1.0) / 4.0 * LineTime; in dml32_CalculatePrefetchSchedule() 3647 Tvm_trips, in dml32_CalculatePrefetchSchedule() 3695 dml_print("DML::%s: Tvm_trips = %f\n", __func__, Tvm_trips); in dml32_CalculatePrefetchSchedule() 3861 Tvm_trips, LineTime / 4); in dml32_CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 896 double Tvm_trips; local 947 …Tvm_trips = UrgentExtraLatency + trip_to_mem * (GPUVMPageTableLevels * (HostVMDynamicLevelsTrips +… 954 *Tdmdl = TWait + Tvm_trips + trip_to_mem; 980 …Enable == true && DynamicMetadataVMEnabled == true && GPUVMEnable == true ? TWait + Tvm_trips : 0); 1025 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1036 Tvm_trips = 0.0; 1080 …+ PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, Tvm_trips, LineTime / 4.0); 1093 dml_print("DML::%s: Tvm_trips = %f\n", __func__, Tvm_trips); 1247 …w + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ, Tvm_trips, LineTime / 4);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 914 double Tvm_trips; local 965 …Tvm_trips = UrgentExtraLatency + trip_to_mem * (GPUVMPageTableLevels * (HostVMDynamicLevelsTrips +… 972 *Tdmdl = TWait + Tvm_trips + trip_to_mem; 998 …Enable == true && DynamicMetadataVMEnabled == true && GPUVMEnable == true ? TWait + Tvm_trips : 0); 1043 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; 1054 Tvm_trips = 0.0; 1098 …+ PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, Tvm_trips, LineTime / 4.0); 1111 dml_print("DML::%s: Tvm_trips = %f\n", __func__, Tvm_trips); 1265 …w + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ, Tvm_trips, LineTime / 4);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 895 double Tvm_trips = 0; in CalculatePrefetchSchedule() local 935 …Tvm_trips = UrgentExtraLatency + trip_to_mem * (GPUVMPageTableLevels * (HostVMDynamicLevelsTrips +… in CalculatePrefetchSchedule() 938 *Tdmdl = TWait + Tvm_trips + trip_to_mem; in CalculatePrefetchSchedule() 958 …Enable == true && DynamicMetadataVMEnabled == true && GPUVMEnable == true ? TWait + Tvm_trips : 0); in CalculatePrefetchSchedule() 990 Tvm_trips_rounded = dml_ceil(4.0 * Tvm_trips / LineTime, 1) / 4 * LineTime; in CalculatePrefetchSchedule() 1013 Tvm_trips, in CalculatePrefetchSchedule() 1155 …w + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_equ, Tvm_trips, LineTime / 4); in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core_structs.h | 1794 dml_float_t Tvm_trips; member
|
D | display_mode_core.c | 1018 s->Tvm_trips = 0.0; in CalculatePrefetchSchedule() 1078 …s->Tvm_trips = p->UrgentExtraLatency + s->trip_to_mem * (p->GPUVMPageTableLevels * (s->HostVMDynam… in CalculatePrefetchSchedule() 1081 *p->Tdmdl = p->TWait + s->Tvm_trips + s->trip_to_mem; in CalculatePrefetchSchedule() 1107 …ue && p->DynamicMetadataVMEnabled == true && p->GPUVMEnable == true ? p->TWait + s->Tvm_trips : 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() 1199 s->Tvm_trips, in CalculatePrefetchSchedule() 1244 dml_print("DML::%s: Tvm_trips = %f\n", __func__, s->Tvm_trips); in CalculatePrefetchSchedule() 1391 …etaPTEBytesFrame * p->HostVMInefficiencyFactor / s->prefetch_bw_equ, s->Tvm_trips, s->LineTime / 4… in CalculatePrefetchSchedule()
|