/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 609 double SwathWidthSingleDPPY[], 2067 v->SwathWidthSingleDPPY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2078 …v->ReadBandwidthPlaneLuma[k] = v->SwathWidthSingleDPPY[k] * v->BytePerPixelY[k] / (v->HTotal[k] / … in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 6311 double SwathWidthSingleDPPY[], in CalculateSwathWidth() argument 6330 SwathWidthSingleDPPY[k] = ViewportWidth[k]; in CalculateSwathWidth() 6332 SwathWidthSingleDPPY[k] = ViewportHeight[k]; in CalculateSwathWidth() 6343 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 4.0 * HRatio[k])); in CalculateSwathWidth() 6345 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 2.0 * HRatio[k])); in CalculateSwathWidth() 6347 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() 6349 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 594 double SwathWidthSingleDPPY[], 2188 v->SwathWidthSingleDPPY, 2198 …v->ReadBandwidthPlaneLuma[k] = v->SwathWidthSingleDPPY[k] * v->BytePerPixelY[k] / (v->HTotal[k] / … 6819 double SwathWidthSingleDPPY[], argument 6837 SwathWidthSingleDPPY[k] = ViewportWidth[k]; 6839 SwathWidthSingleDPPY[k] = ViewportHeight[k]; 6855 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 4.0 * HRatio[k])); 6857 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 2.0 * HRatio[k])); 6859 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; 6861 SwathWidthY[k] = SwathWidthSingleDPPY[k]; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 602 double SwathWidthSingleDPPY[], 2206 v->SwathWidthSingleDPPY, 2216 …v->ReadBandwidthPlaneLuma[k] = v->SwathWidthSingleDPPY[k] * v->BytePerPixelY[k] / (v->HTotal[k] / … 6910 double SwathWidthSingleDPPY[], argument 6928 SwathWidthSingleDPPY[k] = ViewportWidth[k]; 6930 SwathWidthSingleDPPY[k] = ViewportHeight[k]; 6946 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 4.0 * HRatio[k])); 6948 SwathWidthY[k] = dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 2.0 * HRatio[k])); 6950 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; 6952 SwathWidthY[k] = SwathWidthSingleDPPY[k]; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20v2.c | 80 unsigned int SwathWidthSingleDPPY, 487 unsigned int SwathWidthSingleDPPY, in CalculateDelayAfterScaler() 503 …DataFabricLineDeliveryTimeLuma = SwathWidthSingleDPPY * SwathHeightY * dml_ceil(BytePerPixelDETY, … in CalculateDelayAfterScaler() 507 …DataFabricLineDeliveryTimeChroma = SwathWidthSingleDPPY / 2 * SwathHeightC * dml_ceil(BytePerPixel… in CalculateDelayAfterScaler() 1395 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportWidth[k]; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1397 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1408 (double) mode_lib->vba.SwathWidthSingleDPPY[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1416 mode_lib->vba.SwathWidthY[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1446 mode_lib->vba.ReadBandwidthPlaneLuma[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1450 mode_lib->vba.ReadBandwidthPlaneChroma[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
D | display_mode_vba_20.c | 1335 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportWidth[k]; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1337 mode_lib->vba.SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1348 (double) mode_lib->vba.SwathWidthSingleDPPY[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1356 mode_lib->vba.SwathWidthY[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1386 mode_lib->vba.ReadBandwidthPlaneLuma[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1390 mode_lib->vba.ReadBandwidthPlaneChroma[k] = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1435 DataFabricLineDeliveryTimeLuma = mode_lib->vba.SwathWidthSingleDPPY[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1459 DataFabricLineDeliveryTimeChroma = mode_lib->vba.SwathWidthSingleDPPY[k] / 2.0 in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 313 double SwathWidthSingleDPPY[], 1688 locals->SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportWidth[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1690 locals->SwathWidthSingleDPPY[k] = mode_lib->vba.ViewportHeight[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1701 (double) locals->SwathWidthSingleDPPY[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1706 locals->SwathWidthY[k] = locals->SwathWidthSingleDPPY[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1734 locals->ReadBandwidthPlaneLuma[k] = locals->SwathWidthSingleDPPY[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1738 locals->ReadBandwidthPlaneChroma[k] = locals->SwathWidthSingleDPPY[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2445 locals->SwathWidthSingleDPPY, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 5270 double SwathWidthSingleDPPY[], in CalculateWatermarksAndDRAMSpeedChangeSupport()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 929 double SwathWidthSingleDPPY[DC__NUM_DPP__MAX]; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 608 dml_uint_t SwathWidthSingleDPPY[], 4323 dml_uint_t SwathWidthSingleDPPY[], in CalculateSwathWidth() 4345 SwathWidthSingleDPPY[k] = ViewportWidth[k]; in CalculateSwathWidth() 4347 SwathWidthSingleDPPY[k] = ViewportHeight[k]; in CalculateSwathWidth() 4364 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 4367 …SwathWidthY[k] = (dml_uint_t)(dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 4.0 * HRatio… in CalculateSwathWidth() 4369 …SwathWidthY[k] = (dml_uint_t)(dml_min(SwathWidthSingleDPPY[k], dml_round(HActive[k] / 2.0 * HRatio… in CalculateSwathWidth() 4371 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() 4373 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 4381 dml_print("DML::%s: k=%u SwathWidthSingleDPPY=%u\n", __func__, k, SwathWidthSingleDPPY[k]); in CalculateSwathWidth() [all …]
|
D | display_mode_core_structs.h | 967 dml_uint_t SwathWidthSingleDPPY[__DML_NUM_PLANES__]; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 569 unsigned int SwathWidthSingleDPPY[DML2_MAX_PLANES]; member
|
D | dml2_core_shared.c | 104 unsigned int SwathWidthSingleDPPY[], 3509 unsigned int SwathWidthSingleDPPY[], in CalculateSwathWidth() argument 3528 …SwathWidthSingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.pla… in CalculateSwathWidth() 3530 …SwathWidthSingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.pla… in CalculateSwathWidth() 3547 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 3557 …SwathWidthY[k] = (unsigned int)(math_min2((double)SwathWidthSingleDPPY[k], math_round((double)disp… in CalculateSwathWidth() 3559 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() 3561 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 3569 dml2_printf("DML::%s: k=%u SwathWidthSingleDPPY=%u\n", __func__, k, SwathWidthSingleDPPY[k]); in CalculateSwathWidth() 3575 SwathWidthSingleDPPC[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() [all …]
|
D | dml2_core_dcn4_calcs.c | 822 unsigned int SwathWidthSingleDPPY[], in CalculateSwathWidth() argument 847 …SwathWidthSingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.pla… in CalculateSwathWidth() 849 …SwathWidthSingleDPPY[k] = (unsigned int)display_cfg->plane_descriptors[k].composition.viewport.pla… in CalculateSwathWidth() 861 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 871 …SwathWidthY[k] = (unsigned int)(math_min2((double)SwathWidthSingleDPPY[k], math_round((double)disp… in CalculateSwathWidth() 873 SwathWidthY[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() 875 SwathWidthY[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() 883 dml2_printf("DML::%s: k=%u SwathWidthSingleDPPY=%u\n", __func__, k, SwathWidthSingleDPPY[k]); in CalculateSwathWidth() 889 SwathWidthSingleDPPC[k] = SwathWidthSingleDPPY[k] / 2; in CalculateSwathWidth() 892 SwathWidthSingleDPPC[k] = SwathWidthSingleDPPY[k]; in CalculateSwathWidth() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_32.c | 196 v->SwathWidthSingleDPPY, v->SwathWidthSingleDPPC, v->SwathWidthY, v->SwathWidthC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 206 v->ReadBandwidthSurfaceLuma[k] = v->SwathWidthSingleDPPY[k] * v->BytePerPixelY[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|