/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.h | 66 double HRatio, 128 double HRatio[], 174 double HRatio[], 563 double HRatio[], 858 double HRatio[],
|
D | display_mode_vba_util_32.c | 199 double HRatio, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() argument 220 if (HRatio > 1) { in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 221 *PSCL_THROUGHPUT = dml_min(MaxDCHUBToPSCLThroughput, MaxPSCLToLBThroughput * HRatio / in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 227 DPPCLKUsingSingleDPPLuma = PixelClock * dml_max3(VTaps / 6 * dml_min(1, HRatio), HRatio * VRatio / in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 439 double HRatio[], in dml32_CalculateSwathAndDETConfiguration() 502 HRatio, in dml32_CalculateSwathAndDETConfiguration() 706 double HRatio[], in dml32_CalculateSwathWidth() 754 dml_round(HActive[k] / 4.0 * HRatio[k])); in dml32_CalculateSwathWidth() 757 dml_round(HActive[k] / 2.0 * HRatio[k])); in dml32_CalculateSwathWidth() 767 dml_print("DML::%s: k=%d HRatio=%f\n", __func__, k, HRatio[k]); in dml32_CalculateSwathWidth() [all …]
|
D | display_mode_vba_32.c | 118 dml32_CalculateSinglePipeDPPCLKAndSCLThroughput(mode_lib->vba.HRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 193 mode_lib->vba.HRatio, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 273 mode_lib->vba.HRatio, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 322 mode_lib->vba.HRatio, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 788 (unsigned int) (v->SwathWidthY[k] / v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1248 mode_lib->vba.HRatio, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1735 || mode_lib->vba.HRatio[k] != 1.0 || mode_lib->vba.htaps[k] != 1.0 in dml32_ModeSupportAndSystemConfigurationFull() 1741 || mode_lib->vba.HRatio[k] > mode_lib->vba.MaxHSCLRatio in dml32_ModeSupportAndSystemConfigurationFull() 1743 || mode_lib->vba.HRatio[k] > mode_lib->vba.htaps[k] in dml32_ModeSupportAndSystemConfigurationFull() 1880 …dml32_CalculateSinglePipeDPPCLKAndSCLThroughput(mode_lib->vba.HRatio[k], mode_lib->vba.HRatioChrom… in dml32_ModeSupportAndSystemConfigurationFull() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 320 double HRatio[], 350 double HRatio[], 394 double HRatio[], 1502 if (mode_lib->vba.HRatio[k] > 1) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1506 * mode_lib->vba.HRatio[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1523 mode_lib->vba.HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1525 mode_lib->vba.HRatio[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1542 if (mode_lib->vba.HRatio[k] > 1) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1547 * mode_lib->vba.HRatio[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1565 mode_lib->vba.HRatio[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 1118 if (mode_lib->vba.HRatio[k] > 1) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1122 * mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1139 mode_lib->vba.HRatio[k]), in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1141 mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1158 if (mode_lib->vba.HRatio[k] > 1) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1163 * mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1181 mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1184 mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1351 * mode_lib->vba.HRatio[k])); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1427 / mode_lib->vba.HRatio[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
D | display_mode_vba_20v2.c | 1178 if (mode_lib->vba.HRatio[k] > 1) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1182 * mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1199 mode_lib->vba.HRatio[k]), in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1201 mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1218 if (mode_lib->vba.HRatio[k] > 1) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1223 * mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1241 mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1244 mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1411 * mode_lib->vba.HRatio[k])); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1485 / mode_lib->vba.HRatio[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 329 double HRatio[], 365 double HRatio[], 412 double HRatio[], 576 double HRatio[], 609 double HRatio[], 1901 if (v->HRatio[k] > 1) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1903 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1911 * dml_max(v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1912 dml_max(v->HRatio[k] * v->VRatio[k] / v->PSCL_THROUGHPUT_LUMA[k], 1.0)); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2065 v->HRatio, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 329 double HRatio[], 375 double HRatio[], 559 double HRatio[], 592 double HRatio[], 2049 if (v->HRatio[k] > 1) { 2052 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); 2059 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), 2060 dml_max(v->HRatio[k] * v->VRatio[k] / v->PSCL_THROUGHPUT_LUMA[k], 1.0)); 2192 v->HRatio, 2222 v->HRatio, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 341 double HRatio[], 387 double HRatio[], 571 double HRatio[], 604 double HRatio[], 2071 if (v->HRatio[k] > 1) { 2074 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); 2081 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), 2082 dml_max(v->HRatio[k] * v->VRatio[k] / v->PSCL_THROUGHPUT_LUMA[k], 1.0)); 2214 v->HRatio, 2244 v->HRatio, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 454 double HRatio[DC__NUM_DPP__MAX]; member
|
D | display_mode_vba.c | 583 mode_lib->vba.HRatio[mode_lib->vba.NumberOfActivePlanes] = scl->hscl_ratio; in fetch_pipe_params()
|