/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 3452 double prefetch_bw_oto; in dml32_CalculatePrefetchSchedule() local 3638 prefetch_bw_oto = dml_max(bytes_pp * myPipe->PixelClock / myPipe->DPPPerSurface, in dml32_CalculatePrefetchSchedule() 3643 …Lsw_oto = dml_ceil(4.0 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1.0) / … in dml32_CalculatePrefetchSchedule() 3648 *Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in dml32_CalculatePrefetchSchedule() 3656 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in dml32_CalculatePrefetchSchedule() 3661 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto); in dml32_CalculatePrefetchSchedule() 3697 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto); in dml32_CalculatePrefetchSchedule() 3890 *PrefetchBandwidth = prefetch_bw_oto; in dml32_CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 884 double prefetch_bw_oto; local 1061 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw); 1064 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4; 1072 dml_print("DML: prefetch_bw_oto: %f\n", prefetch_bw_oto); 1080 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1085 …ax4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, /… 1099 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto); 1272 *PrefetchBandwidth = prefetch_bw_oto;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 902 double prefetch_bw_oto; local 1079 prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw); 1082 Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4; 1090 dml_print("DML: prefetch_bw_oto: %f\n", prefetch_bw_oto); 1098 …Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto,… 1103 …ax4((MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, Tr0_trips, /… 1117 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, prefetch_bw_oto); 1290 *PrefetchBandwidth = prefetch_bw_oto;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 883 double prefetch_bw_oto = 0; in CalculatePrefetchSchedule() local 1009 …prefetch_bw_oto = (PrefetchSourceLinesY * swath_width_luma_ub * BytePerPixelY + PrefetchSourceLine… in CalculatePrefetchSchedule() 1012 Tvm_oto = dml_max3(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule() 1020 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in CalculatePrefetchSchedule() 1070 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (Tpre_rounded - Tsw_o… in CalculatePrefetchSchedule() 1093 …if (VStartup == MaxVStartup && (PrefetchBandwidth3 > 4 * prefetch_bw_oto) && Tpre_rounded - Tsw_ot… in CalculatePrefetchSchedule() 1180 *PrefetchBandwidth = prefetch_bw_oto; in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 1187 double prefetch_bw_oto; member
|
D | dml2_core_shared.c | 7533 s->prefetch_bw_oto = 0.0; in CalculatePrefetchSchedule() 7751 s->prefetch_bw_oto = math_max2(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule() 7764 s->prefetch_bw_oto = math_max3(s->prefetch_bw_oto, in CalculatePrefetchSchedule() 7767 …s->Lsw_oto = math_ceil2(4.0 * math_max2(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s… in CalculatePrefetchSchedule() 7772 *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 7777 … max1 = %f\n", __func__, *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto); in CalculatePrefetchSchedule() 7787 …esPerRow * p->HostVMInefficiencyFactor + p->meta_row_bytes + tdlut_row_bytes) / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 7791 …sPerRow * p->HostVMInefficiencyFactor + p->meta_row_bytes + tdlut_row_bytes) / s->prefetch_bw_oto); in CalculatePrefetchSchedule() 7833 dml2_printf("DML::%s: prefetch_bw_oto = %f\n", __func__, s->prefetch_bw_oto); in CalculatePrefetchSchedule()
|
D | dml2_core_dcn4_calcs.c | 5053 s->prefetch_bw_oto = 0.0; in CalculatePrefetchSchedule() 5282 s->prefetch_bw_oto = math_max2(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule() 5299 s->prefetch_bw_oto = math_max3(s->prefetch_bw_oto, in CalculatePrefetchSchedule() 5302 …s->Lsw_oto = math_ceil2(4.0 * math_max2(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s… in CalculatePrefetchSchedule() 5306 *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 5313 … max1 = %f\n", __func__, *p->Tno_bw + vm_bytes * p->HostVMInefficiencyFactor / s->prefetch_bw_oto); in CalculatePrefetchSchedule() 5323 …esPerRow * p->HostVMInefficiencyFactor + p->meta_row_bytes + tdlut_row_bytes) / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 5330 …sPerRow * p->HostVMInefficiencyFactor + p->meta_row_bytes + tdlut_row_bytes) / s->prefetch_bw_oto); in CalculatePrefetchSchedule() 5378 dml2_printf("DML::%s: prefetch_bw_oto = %f\n", __func__, s->prefetch_bw_oto); in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 704 double prefetch_bw_oto; in CalculatePrefetchSchedule() local 817 …prefetch_bw_oto = (PrefetchSourceLinesY * *swath_width_luma_ub * dml_ceil(BytePerPixelDETY, 1) + P… in CalculatePrefetchSchedule() 821 Tvm_oto = dml_max(*Tno_bw + PDEAndMetaPTEBytesFrame * HostVMInefficiencyFactor / prefetch_bw_oto, in CalculatePrefetchSchedule() 829 (MetaRowByte + PixelPTEBytesPerRow * HostVMInefficiencyFactor) / prefetch_bw_oto, in CalculatePrefetchSchedule() 898 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (*DestinationLinesFor… in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 510 double prefetch_bw_oto; in CalculatePrefetchSchedule() local 600 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow in CalculatePrefetchSchedule() 608 *Tno_bw + PDEAndMetaPTEBytesFrame / prefetch_bw_oto, in CalculatePrefetchSchedule() 620 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto, in CalculatePrefetchSchedule()
|
D | display_mode_vba_20v2.c | 600 double prefetch_bw_oto; in CalculatePrefetchSchedule() local 660 prefetch_bw_oto = (MetaRowByte + PixelPTEBytesPerRow in CalculatePrefetchSchedule() 668 *Tno_bw + PDEAndMetaPTEBytesFrame / prefetch_bw_oto, in CalculatePrefetchSchedule() 680 (MetaRowByte + PixelPTEBytesPerRow) / prefetch_bw_oto, in CalculatePrefetchSchedule()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core_structs.h | 1783 dml_float_t prefetch_bw_oto; member
|
D | display_mode_core.c | 1007 s->prefetch_bw_oto = 0.0; in CalculatePrefetchSchedule() 1191 s->prefetch_bw_oto = dml_max(s->prefetch_bw_pr, s->prefetch_sw_bytes / s->max_Tsw); in CalculatePrefetchSchedule() 1195 …s->Lsw_oto = dml_ceil(4.0 * dml_max(s->prefetch_sw_bytes / s->prefetch_bw_oto / s->LineTime, s->mi… in CalculatePrefetchSchedule() 1200 *p->Tno_bw + p->PDEAndMetaPTEBytesFrame * p->HostVMInefficiencyFactor / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 1208 (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto, in CalculatePrefetchSchedule() 1212 …c__, (p->MetaRowByte + p->PixelPTEBytesPerRow * p->HostVMInefficiencyFactor) / s->prefetch_bw_oto); in CalculatePrefetchSchedule() 1246 dml_print("DML::%s: prefetch_bw_oto = %f\n", __func__, s->prefetch_bw_oto); in CalculatePrefetchSchedule()
|