/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 126 unsigned int VStartup, 847 unsigned int VStartup, argument 987 if (VStartup * LineTime < *TSetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { 1145 dml_print("DML: VStartup: %d\n", VStartup); 1413 VStartup * LineTime - TimeForFetchingMetaPTE - 2 * TimeForFetchingRowInVBlank 2717 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); 2997 v->VStartup[k] * v->HTotal[k] / v->PixelClock[k] - v->WritebackDRAMClockChangeWatermark); 3173 dml_print("DML::%s: k=%d, VStartup = %d\n", __func__, k, v->VStartup[k]); 3193 (int) (v->VTotal[k] - v->VActive[k] - v->VFrontPorch[k] - v->VStartup[k]))) { 3199 dml_print("DML::%s: k=%d, VStartup = %d (max)\n", __func__, k, v->VStartup[k]); [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 114 unsigned int VStartup, 826 unsigned int VStartup, argument 966 if (VStartup * LineTime < *TSetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { 1124 dml_print("DML: VStartup: %d\n", VStartup); 1393 VStartup * LineTime - TimeForFetchingMetaPTE - 2 * TimeForFetchingRowInVBlank 2696 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); 2976 v->VStartup[k] * v->HTotal[k] / v->PixelClock[k] - v->WritebackDRAMClockChangeWatermark); 3152 dml_print("DML::%s: k=%d, VStartup = %d\n", __func__, k, v->VStartup[k]); 3173 (int) (v->VTotal[k] - v->VActive[k] - v->VFrontPorch[k] - v->VStartup[k]))) { 3179 dml_print("DML::%s: k=%d, VStartup = %d (max)\n", __func__, k, v->VStartup[k]); [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 95 unsigned int VStartup, 825 unsigned int VStartup, in CalculatePrefetchSchedule() argument 944 if (VStartup * LineTime < Tsetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { in CalculatePrefetchSchedule() 1003 dst_y_prefetch_equ = VStartup - (Tsetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime in CalculatePrefetchSchedule() 1036 dml_print("DML: VStartup: %d\n", VStartup); in CalculatePrefetchSchedule() 1037 …dml_print("DML: Tvstartup: %fus - time between vstartup and first pixel of active\n", VStartup * L… in CalculatePrefetchSchedule() 2520 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2529 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[x]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2804 v->ThisVStartup = v->VStartup[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2808 v->ThisVStartup = v->VStartup[j]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 728 unsigned int VStartup,
|
H A D | display_mode_vba_32.c | 842 v->VStartup[k] = dml_min(v->VStartupLines, v->MaxVStartupLines[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1238 v->VStartup[k] * mode_lib->vba.HTotal[k] / mode_lib->vba.PixelClock[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1241 v->VStartup[k] * mode_lib->vba.HTotal[k] / mode_lib->vba.PixelClock[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1419 double Tvstartup_margin = (v->MaxVStartupLines[k] - v->VStartup[k]) * mode_lib->vba.HTotal[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1431 dml_print("DML::%s: k=%d, VStartup = %d\n", __func__, k, v->VStartup[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1451 v->VStartup[k] = (isInterlaceTiming ? (2 * v->MaxVStartupLines[k]) : v->MaxVStartupLines[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1455 - mode_lib->vba.VActive[k] - mode_lib->vba.VFrontPorch[k] - v->VStartup[k]) / 2.0, 1.0) : in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1457 - mode_lib->vba.VFrontPorch[k] - v->VStartup[k]))) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1463 dml_print("DML::%s: k=%d, VStartup = %d (max)\n", __func__, k, v->VStartup[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1471 dml_print("DML::%s: k=%d, VStartup = %d\n", __func__, k, v->VStartup[k]); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
H A D | display_mode_vba_util_32.c | 3404 unsigned int VStartup, in dml32_CalculatePrefetchSchedule() argument 3534 if (VStartup * LineTime < *TSetup + *Tdmdl + Tdmbf + Tdmec + Tdmsks) { in dml32_CalculatePrefetchSchedule() 3675 dst_y_prefetch_equ = VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - in dml32_CalculatePrefetchSchedule() 3714 dml_print("DML::%s: VStartup: %d\n", __func__, VStartup); in dml32_CalculatePrefetchSchedule() 3716 __func__, VStartup * LineTime); in dml32_CalculatePrefetchSchedule() 3753 if (VStartup == MaxVStartup && (Tsw_est1 / LineTime < min_Lsw) in dml32_CalculatePrefetchSchedule() 3774 if (VStartup == MaxVStartup && in dml32_CalculatePrefetchSchedule() 3912 if (ExtendPrefetchIfPossible && TPreReq == 0 && VStartup < MaxVStartup) { in dml32_CalculatePrefetchSchedule() 4033 dml_print("DML: Tslack(pre): %fus - time left over in schedule\n", VStartup * LineTime - in dml32_CalculatePrefetchSchedule()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 77 unsigned int VStartup, 460 unsigned int VStartup, in CalculatePrefetchSchedule() argument 572 if (VStartup * LineTime in CalculatePrefetchSchedule() 594 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 637 dml_print("DML: VStartup: %d\n", VStartup); in CalculatePrefetchSchedule() 2160 mode_lib->vba.VStartup[k] = dml_min( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2165 mode_lib->vba.VStartup[k] = in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2169 mode_lib->vba.VStartup[k] = in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2694 unsigned int Margin = (mode_lib->vba.MaxVStartupLines[k] - mode_lib->vba.VStartup[k]) in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2707 mode_lib->vba.VStartup[k] = mode_lib->vba.MaxVStartupLines[mode_lib->vba.BlendingAndTiming[k]]; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
H A D | display_mode_vba_20v2.c | 102 unsigned int VStartup, 552 unsigned int VStartup, in CalculatePrefetchSchedule() argument 635 if (VStartup * LineTime in CalculatePrefetchSchedule() 654 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 697 dml_print("DML: VStartup: %d\n", VStartup); in CalculatePrefetchSchedule() 2194 mode_lib->vba.VStartup[k] = dml_min( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2199 mode_lib->vba.VStartup[k] = in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2203 mode_lib->vba.VStartup[k] = in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2767 unsigned int Margin = (mode_lib->vba.MaxVStartupLines[k] - mode_lib->vba.VStartup[k]) in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2780 mode_lib->vba.VStartup[k] = mode_lib->vba.MaxVStartupLines[mode_lib->vba.BlendingAndTiming[k]]; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 96 unsigned int VStartup, 649 unsigned int VStartup, in CalculatePrefetchSchedule() argument 781 if (VStartup * LineTime in CalculatePrefetchSchedule() 801 dst_y_prefetch_equ = VStartup - dml_max(TCalc + TWait, XFCRemoteSurfaceFlipDelay) / LineTime in CalculatePrefetchSchedule() 849 dml_print("DML: VStartup: %d\n", VStartup); in CalculatePrefetchSchedule() 898 …if (VStartup == MaxVStartup && (PrefetchBandwidth1 > 4 * prefetch_bw_oto) && (*DestinationLinesFor… in CalculatePrefetchSchedule() 2227 locals->VStartup[k] = dml_min( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2232 locals->VStartup[k] = in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2236 locals->VStartup[k] = in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/openbmc/linux/Documentation/gpu/amdgpu/display/ |
H A D | dcn-overview.rst | 68 by VStartup, VUpdate, and VReady;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.c | 178 dml_get_pipe_attr_func(vstartup, mode_lib->vba.VStartup); 194 dml_get_pipe_attr_func(vstartup_calculated, mode_lib->vba.VStartup);
|
H A D | display_mode_vba.h | 915 unsigned int VStartup[DC__NUM_DPP__MAX]; member
|