/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 3460 double LinesToRequestPrefetchPixelData = 0; in dml32_CalculatePrefetchSchedule() local 3927 LinesToRequestPrefetchPixelData = LinesForPrefetchBandwidth - in dml32_CalculatePrefetchSchedule() 3939 …rint("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, LinesToRequestPrefetchPixelData); in dml32_CalculatePrefetchSchedule() 3942 if (LinesToRequestPrefetchPixelData >= 1 && prefetch_bw_equ > 0) { in dml32_CalculatePrefetchSchedule() 3943 *VRatioPrefetchY = (double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData; in dml32_CalculatePrefetchSchedule() 3951 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { in dml32_CalculatePrefetchSchedule() 3954 LinesToRequestPrefetchPixelData, in dml32_CalculatePrefetchSchedule() 3956 (LinesToRequestPrefetchPixelData - in dml32_CalculatePrefetchSchedule() 3970 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; in dml32_CalculatePrefetchSchedule() 3979 if (LinesToRequestPrefetchPixelData > (VInitPreFillC - 3.0) / 2.0) { in dml32_CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 891 double LinesToRequestPrefetchPixelData = 0; in CalculatePrefetchSchedule() local 1193 …LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch - *DestinationLinesToRequestVMInVBl… in CalculatePrefetchSchedule() 1196 if (LinesToRequestPrefetchPixelData > 0 && prefetch_bw_equ > 0) { in CalculatePrefetchSchedule() 1199 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1202 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 1203 *VRatioPrefetchY = dml_max((double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData, in CalculatePrefetchSchedule() 1204 …(double) MaxNumSwathY * SwathHeightY / (LinesToRequestPrefetchPixelData - (VInitPreFillY - 3.0) / … in CalculatePrefetchSchedule() 1213 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1217 if (LinesToRequestPrefetchPixelData > (VInitPreFillC - 3.0) / 2.0) { in CalculatePrefetchSchedule() 1219 …(double) MaxNumSwathC * SwathHeightC / (LinesToRequestPrefetchPixelData - (VInitPreFillC - 3.0) / … in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 893 double LinesToRequestPrefetchPixelData = 0; local 1285 LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch 1290 …LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch - *DestinationLinesToRequestVMInVBl… 1300 …rint("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, LinesToRequestPrefetchPixelData); 1303 if (LinesToRequestPrefetchPixelData > 0 && prefetch_bw_equ > 0) { 1305 *VRatioPrefetchY = (double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData; 1313 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { 1315 (double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData, 1316 …(double) MaxNumSwathY * SwathHeightY / (LinesToRequestPrefetchPixelData - (VInitPreFillY - 3.0) / … 1330 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 911 double LinesToRequestPrefetchPixelData = 0; local 1303 LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch 1308 …LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch - *DestinationLinesToRequestVMInVBl… 1318 …rint("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, LinesToRequestPrefetchPixelData); 1321 if (LinesToRequestPrefetchPixelData > 0 && prefetch_bw_equ > 0) { 1323 *VRatioPrefetchY = (double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData; 1331 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { 1333 (double) PrefetchSourceLinesY / LinesToRequestPrefetchPixelData, 1334 …(double) MaxNumSwathY * SwathHeightY / (LinesToRequestPrefetchPixelData - (VInitPreFillY - 3.0) / … 1348 *VRatioPrefetchC = (double) PrefetchSourceLinesC / LinesToRequestPrefetchPixelData; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 517 double LinesToRequestPrefetchPixelData = 0; in CalculatePrefetchSchedule() local 707 LinesToRequestPrefetchPixelData = in CalculatePrefetchSchedule() 715 if (LinesToRequestPrefetchPixelData > 0) { in CalculatePrefetchSchedule() 718 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 721 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 725 / LinesToRequestPrefetchPixelData, in CalculatePrefetchSchedule() 728 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() 740 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 744 if (LinesToRequestPrefetchPixelData > (VInitPreFillC - 3.0) / 2.0) { in CalculatePrefetchSchedule() 750 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() [all …]
|
D | display_mode_vba_20v2.c | 607 double LinesToRequestPrefetchPixelData = 0; in CalculatePrefetchSchedule() local 767 LinesToRequestPrefetchPixelData = in CalculatePrefetchSchedule() 775 if (LinesToRequestPrefetchPixelData > 0) { in CalculatePrefetchSchedule() 778 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 781 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 785 / LinesToRequestPrefetchPixelData, in CalculatePrefetchSchedule() 788 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() 800 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 804 if (LinesToRequestPrefetchPixelData > (VInitPreFillC - 3.0) / 2.0) { in CalculatePrefetchSchedule() 810 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 713 double LinesToRequestPrefetchPixelData = 0; in CalculatePrefetchSchedule() local 947 LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch in CalculatePrefetchSchedule() 954 if (LinesToRequestPrefetchPixelData > 0) { in CalculatePrefetchSchedule() 957 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 960 if (LinesToRequestPrefetchPixelData > (VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 964 / LinesToRequestPrefetchPixelData, in CalculatePrefetchSchedule() 967 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() 979 / LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 983 if (LinesToRequestPrefetchPixelData > (VInitPreFillC - 3.0) / 2.0) { in CalculatePrefetchSchedule() 989 / (LinesToRequestPrefetchPixelData in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 1015 s->LinesToRequestPrefetchPixelData = 0.0; in CalculatePrefetchSchedule() 1430 …s->LinesToRequestPrefetchPixelData = *p->DestinationLinesForPrefetch - *p->DestinationLinesToReque… in CalculatePrefetchSchedule() 1439 …t("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, s->LinesToRequestPrefetchPixelData); in CalculatePrefetchSchedule() 1442 if (s->LinesToRequestPrefetchPixelData >= 1 && s->prefetch_bw_equ > 0) { in CalculatePrefetchSchedule() 1443 *p->VRatioPrefetchY = (dml_float_t)p->PrefetchSourceLinesY / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1451 if (s->LinesToRequestPrefetchPixelData > (p->VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 1453 …(dml_float_t)p->MaxNumSwathY * p->SwathHeightY / (s->LinesToRequestPrefetchPixelData - (p->VInitPr… in CalculatePrefetchSchedule() 1456 …equestPrefetchPixelData=%f VinitPreFillY=%u\n", __func__, s->LinesToRequestPrefetchPixelData, p->V… in CalculatePrefetchSchedule() 1466 *p->VRatioPrefetchC = (dml_float_t)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 1475 if (s->LinesToRequestPrefetchPixelData > (p->VInitPreFillC - 3.0) / 2.0) { in CalculatePrefetchSchedule() [all …]
|
D | display_mode_core_structs.h | 1791 dml_float_t LinesToRequestPrefetchPixelData; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 7541 s->LinesToRequestPrefetchPixelData = 0.0; in CalculatePrefetchSchedule() 8044 …s->LinesToRequestPrefetchPixelData = *p->dst_y_prefetch - *p->dst_y_per_vm_vblank - 2 * *p->dst_y_… in CalculatePrefetchSchedule() 8047 …_cursor_bw = p->num_cursors * s->cursor_prefetch_bytes / (s->LinesToRequestPrefetchPixelData * s->… in CalculatePrefetchSchedule() 8056 …f("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, s->LinesToRequestPrefetchPixelData); in CalculatePrefetchSchedule() 8066 if (s->LinesToRequestPrefetchPixelData >= min_lsw_required && s->prefetch_bw_equ > 0) { in CalculatePrefetchSchedule() 8067 *p->VRatioPrefetchY = (double)p->PrefetchSourceLinesY / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 8075 if (s->LinesToRequestPrefetchPixelData > (p->VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 8077 …(double)p->MaxNumSwathY * p->SwathHeightY / (s->LinesToRequestPrefetchPixelData - (p->VInitPreFill… in CalculatePrefetchSchedule() 8080 …equestPrefetchPixelData=%f VinitPreFillY=%u\n", __func__, s->LinesToRequestPrefetchPixelData, p->V… in CalculatePrefetchSchedule() 8090 *p->VRatioPrefetchC = (double)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_dcn4_calcs.c | 5061 s->LinesToRequestPrefetchPixelData = 0.0; in CalculatePrefetchSchedule() 5646 s->LinesToRequestPrefetchPixelData = math_min2(s->Lsw_equ, s->Lsw_oto); // Lsw in CalculatePrefetchSchedule() 5649 …_cursor_bw = p->num_cursors * s->cursor_prefetch_bytes / (s->LinesToRequestPrefetchPixelData * s->… in CalculatePrefetchSchedule() 5658 …f("DML::%s: LinesToRequestPrefetchPixelData = %f\n", __func__, s->LinesToRequestPrefetchPixelData); in CalculatePrefetchSchedule() 5669 if (s->LinesToRequestPrefetchPixelData >= min_lsw_required && s->prefetch_bw_equ > 0) { in CalculatePrefetchSchedule() 5670 *p->VRatioPrefetchY = (double)p->PrefetchSourceLinesY / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() 5678 if (s->LinesToRequestPrefetchPixelData > (p->VInitPreFillY - 3.0) / 2.0) { in CalculatePrefetchSchedule() 5680 …(double)p->MaxNumSwathY * p->SwathHeightY / (s->LinesToRequestPrefetchPixelData - (p->VInitPreFill… in CalculatePrefetchSchedule() 5683 …equestPrefetchPixelData=%f VinitPreFillY=%u\n", __func__, s->LinesToRequestPrefetchPixelData, p->V… in CalculatePrefetchSchedule() 5693 *p->VRatioPrefetchC = (double)p->PrefetchSourceLinesC / s->LinesToRequestPrefetchPixelData; in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_shared_types.h | 1199 double LinesToRequestPrefetchPixelData; member
|