/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 735 unsigned int DSTYAfterScaler[DML2_MAX_PLANES]; member 893 unsigned int DSTYAfterScaler[DML2_MAX_PLANES]; member 1537 unsigned int *DSTYAfterScaler; member 1755 unsigned int *DSTYAfterScaler; member
|
D | dml2_core_shared.c | 2374 CalculatePrefetchSchedule_params->DSTYAfterScaler = &s->DSTYAfterScaler[k]; in dml2_core_shared_mode_support() 2412 || s->DSTYAfterScaler[k] > 8) { in dml2_core_shared_mode_support() 2418 …printf("DML::%s: k=%d, DSTYAfterScaler=%d (should be <= 8)\n", __func__, k, s->DSTYAfterScaler[k]); in dml2_core_shared_mode_support() 2692 CalculateWatermarks_params->DSTYAfterScaler = s->DSTYAfterScaler; in dml2_core_shared_mode_support() 7682 *p->DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 7684 *p->DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 7686 s->DSTTotalPixelsAfterScaler = *p->DSTYAfterScaler * p->myPipe->HTotal + *p->DSTXAfterScaler; in CalculatePrefetchSchedule() 7687 …*p->DSTYAfterScaler = (unsigned int)(math_floor2(s->DSTTotalPixelsAfterScaler / p->myPipe->HTotal,… in CalculatePrefetchSchedule() 7688 …*p->DSTXAfterScaler = (unsigned int)(s->DSTTotalPixelsAfterScaler - ((double)(*p->DSTYAfterScaler … in CalculatePrefetchSchedule() 7691 dml2_printf("DML::%s: DSTYAfterScaler = %u (final)\n", __func__, *p->DSTYAfterScaler); in CalculatePrefetchSchedule() [all …]
|
D | dml2_core_dcn4_calcs.c | 5207 *p->DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 5209 *p->DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 5211 s->DSTTotalPixelsAfterScaler = *p->DSTYAfterScaler * p->myPipe->HTotal + *p->DSTXAfterScaler; in CalculatePrefetchSchedule() 5212 …*p->DSTYAfterScaler = (unsigned int)(math_floor2(s->DSTTotalPixelsAfterScaler / p->myPipe->HTotal,… in CalculatePrefetchSchedule() 5213 …*p->DSTXAfterScaler = (unsigned int)(s->DSTTotalPixelsAfterScaler - ((double)(*p->DSTYAfterScaler … in CalculatePrefetchSchedule() 5216 dml2_printf("DML::%s: DSTYAfterScaler = %u (final)\n", __func__, *p->DSTYAfterScaler); in CalculatePrefetchSchedule() 5343 Lo = (unsigned int)(*p->DSTYAfterScaler + (double)*p->DSTXAfterScaler / (double)p->myPipe->HTotal); in CalculatePrefetchSchedule() 5413 …es - number of lines of pipeline and buffer delay after scaler \n", __func__, *p->DSTYAfterScaler); in CalculatePrefetchSchedule() 5739 …dml2_printf("DML: To: %fus - time for propagation from scaler to optc\n", (*p->DSTYAfterScaler + (… in CalculatePrefetchSchedule() 5741 …me - s->TimeForFetchingVM - 2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double)(*… in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.h | 753 double *DSTYAfterScaler, 822 double DSTYAfterScaler[],
|
D | display_mode_vba_util_32.c | 3427 double *DSTYAfterScaler, in dml32_CalculatePrefetchSchedule() 3588 *DSTYAfterScaler = 1; in dml32_CalculatePrefetchSchedule() 3590 *DSTYAfterScaler = 0; in dml32_CalculatePrefetchSchedule() 3592 DSTTotalPixelsAfterScaler = *DSTYAfterScaler * myPipe->HTotal + *DSTXAfterScaler; in dml32_CalculatePrefetchSchedule() 3593 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); in dml32_CalculatePrefetchSchedule() 3594 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * myPipe->HTotal)); in dml32_CalculatePrefetchSchedule() 3597 dml_print("DML::%s: DSTYAfterScaler: %d (final)\n", __func__, *DSTYAfterScaler); in dml32_CalculatePrefetchSchedule() 3674 (*DSTYAfterScaler + (double) *DSTXAfterScaler / (double) myPipe->HTotal); in dml32_CalculatePrefetchSchedule() 3722 __func__, *DSTYAfterScaler); in dml32_CalculatePrefetchSchedule() 4029 (*DSTYAfterScaler + ((double) (*DSTXAfterScaler) / (double) myPipe->HTotal)) * LineTime); in dml32_CalculatePrefetchSchedule() [all …]
|
D | display_mode_vba_32.c | 820 &v->DSTYAfterScaler[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1209 v->DSTYAfterScaler, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3326 &v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.DSTYAfterScaler[k], in dml32_ModeSupportAndSystemConfigurationFull() 3603 v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.DSTYAfterScaler, in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 129 double *DSTYAfterScaler, 339 double DSTYAfterScaler[], 859 double *DSTYAfterScaler, in CalculatePrefetchSchedule() 978 *DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 980 *DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 982 DSTTotalPixelsAfterScaler = *DSTYAfterScaler * myPipe->HTotal + *DSTXAfterScaler; in CalculatePrefetchSchedule() 983 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); in CalculatePrefetchSchedule() 984 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * myPipe->HTotal)); in CalculatePrefetchSchedule() 1004 - (*DSTYAfterScaler + *DSTXAfterScaler / myPipe->HTotal); in CalculatePrefetchSchedule() 1047 …: %d lines - number of lines of pipeline and buffer delay after scaler \n", (int)*DSTYAfterScaler); in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core_structs.h | 1135 dml_uint_t DSTYAfterScaler[__DML_NUM_PLANES__]; member 1313 dml_uint_t *DSTYAfterScaler; member 1569 dml_uint_t *DSTYAfterScaler; member 1596 dml_uint_t DSTYAfterScaler[__DML_NUM_PLANES__]; member
|
D | display_mode_core.c | 1139 *p->DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 1141 *p->DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 1143 s->DSTTotalPixelsAfterScaler = *p->DSTYAfterScaler * p->myPipe->HTotal + *p->DSTXAfterScaler; in CalculatePrefetchSchedule() 1144 *p->DSTYAfterScaler = (dml_uint_t)(dml_floor(s->DSTTotalPixelsAfterScaler / p->myPipe->HTotal, 1)); in CalculatePrefetchSchedule() 1145 …er = (dml_uint_t)(s->DSTTotalPixelsAfterScaler - ((dml_float_t) (*p->DSTYAfterScaler * p->myPipe->… in CalculatePrefetchSchedule() 1148 dml_print("DML::%s: DSTYAfterScaler = %u (final)\n", __func__, *p->DSTYAfterScaler); in CalculatePrefetchSchedule() 1224 …etup + dml_max(p->TWait + p->TCalc, *p->Tdmdl)) / s->LineTime - (*p->DSTYAfterScaler + (dml_float_… in CalculatePrefetchSchedule() 1273 …es - number of lines of pipeline and buffer delay after scaler \n", __func__, *p->DSTYAfterScaler); in CalculatePrefetchSchedule() 1515 …dml_print("DML: To: %fus - time for propagation from scaler to optc\n", (*p->DSTYAfterScaler + ((d… in CalculatePrefetchSchedule() 1517 …s->TimeForFetchingMetaPTE - 2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((dml_float… in CalculatePrefetchSchedule() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20v2.c | 88 double *DSTYAfterScaler 132 double DSTYAfterScaler, 495 double *DSTYAfterScaler in CalculateDelayAfterScaler() 530 *DSTYAfterScaler = 1; in CalculateDelayAfterScaler() 532 *DSTYAfterScaler = 0; in CalculateDelayAfterScaler() 534 DSTTotalPixelsAfterScaler = ((double) (*DSTYAfterScaler * HTotal)) + *DSTXAfterScaler; in CalculateDelayAfterScaler() 535 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / HTotal, 1); in CalculateDelayAfterScaler() 536 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * HTotal)); in CalculateDelayAfterScaler() 582 double DSTYAfterScaler, in CalculatePrefetchSchedule() 656 - (DSTYAfterScaler + DSTXAfterScaler / HTotal); in CalculatePrefetchSchedule() [all …]
|
D | display_mode_vba_20.c | 107 double *DSTYAfterScaler, 490 double *DSTYAfterScaler, in CalculatePrefetchSchedule() 538 *DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 540 *DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 542 DSTTotalPixelsAfterScaler = ((double) (*DSTYAfterScaler * HTotal)) + *DSTXAfterScaler; in CalculatePrefetchSchedule() 543 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / HTotal, 1); in CalculatePrefetchSchedule() 544 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * HTotal)); in CalculatePrefetchSchedule() 596 - (*DSTYAfterScaler + *DSTXAfterScaler / HTotal); in CalculatePrefetchSchedule() 644 dml_print("DML: DSTYAfterScaler: %f\n", *DSTYAfterScaler); in CalculatePrefetchSchedule() 2146 &mode_lib->vba.DSTYAfterScaler[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 218 double DSTYAfterScaler[DC__NUM_DPP__MAX]; member 916 double DSTYAfterScaler[DC__NUM_DPP__MAX]; member
|
D | display_mode_vba.c | 146 dml_get_pipe_attr_func(dst_y_after_scaler, mode_lib->vba.DSTYAfterScaler);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 145 double *DSTYAfterScaler, 857 double *DSTYAfterScaler, 1010 *DSTYAfterScaler = 1; 1012 *DSTYAfterScaler = 0; 1014 DSTTotalPixelsAfterScaler = *DSTYAfterScaler * myPipe->HTotal + *DSTXAfterScaler; 1015 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); 1016 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * myPipe->HTotal)); 1107 …VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAfterScaler + *DSTXAfterS… 1135 …caler: %f lines - number of lines of pipeline and buffer delay after scaler \n", *DSTYAfterScaler); 1389 (*DSTYAfterScaler + ((double) (*DSTXAfterScaler) / [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 154 double *DSTYAfterScaler, 875 double *DSTYAfterScaler, 1028 *DSTYAfterScaler = 1; 1030 *DSTYAfterScaler = 0; 1032 DSTTotalPixelsAfterScaler = *DSTYAfterScaler * myPipe->HTotal + *DSTXAfterScaler; 1033 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); 1034 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * myPipe->HTotal)); 1125 …VStartup - (*TSetup + dml_max(TWait + TCalc, *Tdmdl)) / LineTime - (*DSTYAfterScaler + *DSTXAfterS… 1153 …Scaler: %f lines - number of lines of pipeline and buffer delay after scaler\n", *DSTYAfterScaler); 1406 …dml_print("DML: To: %fus - time for propagation from scaler to optc\n", (*DSTYAfterScaler + ((doub… [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 127 double *DSTYAfterScaler, 680 double *DSTYAfterScaler, in CalculatePrefetchSchedule() 747 *DSTYAfterScaler = 1; in CalculatePrefetchSchedule() 749 *DSTYAfterScaler = 0; in CalculatePrefetchSchedule() 751 DSTTotalPixelsAfterScaler = ((double) (*DSTYAfterScaler * myPipe->HTotal)) + *DSTXAfterScaler; in CalculatePrefetchSchedule() 752 *DSTYAfterScaler = dml_floor(DSTTotalPixelsAfterScaler / myPipe->HTotal, 1); in CalculatePrefetchSchedule() 753 *DSTXAfterScaler = DSTTotalPixelsAfterScaler - ((double) (*DSTYAfterScaler * myPipe->HTotal)); in CalculatePrefetchSchedule() 803 - (*DSTYAfterScaler + *DSTXAfterScaler / myPipe->HTotal); in CalculatePrefetchSchedule() 856 dml_print("DML: DSTYAfterScaler: %f\n", *DSTYAfterScaler); in CalculatePrefetchSchedule() 2209 &locals->DSTYAfterScaler[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|