/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.h | 138 unsigned int SwathHeightC[], 539 unsigned int SwathHeightC, 747 unsigned int SwathHeightC, 815 unsigned int SwathHeightC[], 1022 unsigned int SwathHeightC[], 1155 unsigned int SwathHeightC[],
|
D | display_mode_vba_util_32.c | 449 unsigned int SwathHeightC[], in dml32_CalculateSwathAndDETConfiguration() 608 SwathHeightC[k] = MaximumSwathHeightC[k]; in dml32_CalculateSwathAndDETConfiguration() 615 SwathHeightC[k] = MaximumSwathHeightC[k]; in dml32_CalculateSwathAndDETConfiguration() 622 SwathHeightC[k] = MaximumSwathHeightC[k] / 2; in dml32_CalculateSwathAndDETConfiguration() 627 SwathHeightC[k] = MaximumSwathHeightC[k] / 2; in dml32_CalculateSwathAndDETConfiguration() 634 || SwathWidth[k] > MaximumSwathWidthLuma[k] || (SwathHeightC[k] > 0 && in dml32_CalculateSwathAndDETConfiguration() 642 if (SwathHeightC[k] == 0) { in dml32_CalculateSwathAndDETConfiguration() 664 dml_print("DML::%s: k=%0d SwathHeightC = %d\n", __func__, k, SwathHeightC[k]); in dml32_CalculateSwathAndDETConfiguration() 2066 myPipe[k].SwathHeightC, in dml32_CalculateVMRowAndSwath() 2726 unsigned int SwathHeightC, in dml32_CalculateUrgentBurstFactor() argument [all …]
|
D | display_mode_vba_32.c | 290 mode_lib->vba.SwathHeightC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 460 …atermarksAndPerformanceCalculation.SurfaceParameters[k].SwathHeightC = mode_lib->vba.SwathHeightC[… in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 653 mode_lib->vba.SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 680 mode_lib->vba.SwathHeightC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 811 v->SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 850 mode_lib->vba.SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1202 v->SwathHeightC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1540 mode_lib->vba.SwathHeightC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1603 mode_lib->vba.SwathHeightC, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2754 …v->dummy_vars.dml32_ModeSupportAndSystemConfigurationFull.SurfParameters[k].SwathHeightC = mode_li… in dml32_ModeSupportAndSystemConfigurationFull() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 142 unsigned int SwathHeightC; member 380 unsigned int SwathHeightC[DML2_MAX_PLANES]; member 813 unsigned int SwathHeightC[DML2_MAX_PLANES]; member 1530 unsigned int *SwathHeightC; member 1600 unsigned int *SwathHeightC; member 1676 unsigned int *SwathHeightC; member 1733 unsigned int SwathHeightC; member
|
D | dml2_core_shared.c | 325 unsigned int SwathHeightC, 1163 CalculateSwathAndDETConfiguration_params->SwathHeightC = s->dummy_integer_array[8]; in dml2_core_shared_mode_support() 1603 CalculateSwathAndDETConfiguration_params->SwathHeightC = mode_lib->ms.SwathHeightC; in dml2_core_shared_mode_support() 1687 s->SurfParameters[k].SwathHeightC = mode_lib->ms.SwathHeightC[k]; in dml2_core_shared_mode_support() 1845 mode_lib->ms.SwathHeightC[k], in dml2_core_shared_mode_support() 2356 CalculatePrefetchSchedule_params->SwathHeightC = mode_lib->ms.SwathHeightC[k]; in dml2_core_shared_mode_support() 2460 mode_lib->ms.SwathHeightC[k], in dml2_core_shared_mode_support() 2684 CalculateWatermarks_params->SwathHeightC = mode_lib->ms.SwathHeightC; in dml2_core_shared_mode_support() 5635 p->myPipe[k].SwathHeightC, in CalculateVMRowAndSwath() 6120 unsigned int SwathHeightC, in CalculateUrgentBurstFactor() argument [all …]
|
D | dml2_core_dcn4_calcs.c | 263 dml_get_per_pipe_var_func(swath_height_c, unsigned int, mode_lib->mp.SwathHeightC); 2965 p->myPipe[k].SwathHeightC, in CalculateVMRowAndSwath() 3454 unsigned int SwathHeightC, in CalculateUrgentBurstFactor() argument 3501 DETBufferSizeInTimeChroma = math_floor2(LinesInDETChroma, SwathHeightC) * LineTime / VRatioC; in CalculateUrgentBurstFactor() 3775 p->SwathHeightC[k] = MaximumSwathHeightC[k]; in CalculateSwathAndDETConfiguration() 3791 p->SwathHeightC[k] = MaximumSwathHeightC[k]; in CalculateSwathAndDETConfiguration() 3799 p->SwathHeightC[k] = MaximumSwathHeightC[k]; in CalculateSwathAndDETConfiguration() 3807 p->SwathHeightC[k] = MaximumSwathHeightC[k] / 2; in CalculateSwathAndDETConfiguration() 3815 p->SwathHeightC[k] = MaximumSwathHeightC[k] / 2; in CalculateSwathAndDETConfiguration() 3822 if (p->SwathHeightC[k] == 0) in CalculateSwathAndDETConfiguration() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 125 unsigned int SwathHeightC, 323 unsigned int SwathHeightC[], 378 unsigned int SwathHeightC, 523 int SwathHeightC[], 582 int SwathHeightC[], 855 unsigned int SwathHeightC, in CalculatePrefetchSchedule() 1216 if ((SwathHeightC > 4)) { in CalculatePrefetchSchedule() 1219 …(double) MaxNumSwathC * SwathHeightC / (LinesToRequestPrefetchPixelData - (VInitPreFillC - 3.0) / … in CalculatePrefetchSchedule() 2237 v->SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2494 v->SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core_structs.h | 439 dml_uint_t SwathHeightC; member 799 dml_uint_t SwathHeightC[__DML_NUM_PLANES__]; member 1206 dml_uint_t SwathHeightC[__DML_NUM_PLANES__]; member 1294 dml_uint_t *SwathHeightC; member 1453 dml_uint_t *SwathHeightC; member 1494 dml_uint_t *SwathHeightC; member 1566 dml_uint_t SwathHeightC; member
|
D | display_mode_core.c | 423 dml_uint_t SwathHeightC, 1471 dml_print("DML::%s: SwathHeightC = %u\n", __func__, p->SwathHeightC); in CalculatePrefetchSchedule() 1474 if ((p->SwathHeightC > 4) && (p->VInitPreFillC > 3)) { in CalculatePrefetchSchedule() 1476 …tchC = dml_max(*p->VRatioPrefetchC, (dml_float_t)p->MaxNumSwathC * p->SwathHeightC / (s->LinesToRe… in CalculatePrefetchSchedule() 2927 …s->LinesInDETCRoundedDownToSwath[k] = (dml_uint_t)(dml_floor(s->LinesInDETC[k], p->SwathHeightC[k]… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() 2931 …1.0 - 1.0 / (dml_float_t)p->NumberOfActiveSurfaces) * (dml_float_t)p->SwathHeightC[k] * (dml_float… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() 3087 …s->src_y_pstate_c = (dml_uint_t)(dml_ceil(s->dst_y_pstate * p->VRatioChroma[k], p->SwathHeightC[k]… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() 3088 …p->DETBufferSizeC[k] / p->BytePerPixelDETC[k] / p->SwathWidthC[k], p->SwathHeightC[k]) + s->LBLate… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() 3191 dml_uint_t SwathHeightC, in CalculateUrgentBurstFactor() argument 3251 DETBufferSizeInTimeChroma = dml_floor(LinesInDETChroma, SwathHeightC) * LineTime / VRatioC; in CalculateUrgentBurstFactor() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 121 unsigned int SwathHeightC, 316 unsigned int SwathHeightC[], 359 unsigned int SwathHeightC, 365 unsigned int SwathHeightC, 674 unsigned int SwathHeightC, in CalculatePrefetchSchedule() 982 if ((SwathHeightC > 4)) { in CalculatePrefetchSchedule() 988 * SwathHeightC in CalculatePrefetchSchedule() 1926 mode_lib->vba.SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2203 mode_lib->vba.SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2256 mode_lib->vba.SwathHeightC[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 142 unsigned int SwathHeightC, 304 unsigned int SwathHeightC[], 343 unsigned int SwathHeightC, 501 int SwathHeightC[], 567 int SwathHeightC[], 854 unsigned int SwathHeightC, 1335 dml_print("DML::%s: SwathHeightC = %d\n", __func__, SwathHeightC); 1338 if ((SwathHeightC > 4) || VInitPreFillC > 3) { 1342 …(double) MaxNumSwathC * SwathHeightC / (LinesToRequestPrefetchPixelData - (VInitPreFillC - 3.0) / … 2359 v->SwathHeightC[k], [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 151 unsigned int SwathHeightC, 313 unsigned int SwathHeightC[], 352 unsigned int SwathHeightC, 510 int SwathHeightC[], 575 int SwathHeightC[], 872 unsigned int SwathHeightC, 1353 dml_print("DML::%s: SwathHeightC = %d\n", __func__, SwathHeightC); 1356 if ((SwathHeightC > 4) || VInitPreFillC > 3) { 1360 …(double) MaxNumSwathC * SwathHeightC / (LinesToRequestPrefetchPixelData - (VInitPreFillC - 3.0) / … 2378 v->SwathHeightC[k], [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20v2.c | 84 unsigned int SwathHeightC, 125 unsigned int SwathHeightC, 491 unsigned int SwathHeightC, in CalculateDelayAfterScaler() 507 …DataFabricLineDeliveryTimeChroma = SwathWidthSingleDPPY / 2 * SwathHeightC * dml_ceil(BytePerPixel… in CalculateDelayAfterScaler() 575 unsigned int SwathHeightC, in CalculatePrefetchSchedule() 803 if ((SwathHeightC > 4)) { in CalculatePrefetchSchedule() 809 * SwathHeightC in CalculatePrefetchSchedule() 1583 mode_lib->vba.SwathHeightC[k]); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1779 mode_lib->vba.SwathHeightC[k]); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1977 mode_lib->vba.SwathHeightC[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
D | display_mode_vba_20.c | 100 unsigned int SwathHeightC, 483 unsigned int SwathHeightC, in CalculatePrefetchSchedule() 743 if ((SwathHeightC > 4)) { in CalculatePrefetchSchedule() 749 * SwathHeightC in CalculatePrefetchSchedule() 1460 * mode_lib->vba.SwathHeightC[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1547 mode_lib->vba.SwathHeightC[k]); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1743 mode_lib->vba.SwathHeightC[k]); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1941 mode_lib->vba.SwathHeightC[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2139 mode_lib->vba.SwathHeightC[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2495 / mode_lib->vba.SwathHeightC[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_structs.h | 139 unsigned int SwathHeightC; member
|
D | display_mode_vba.h | 528 unsigned int SwathHeightC[DC__NUM_DPP__MAX]; member
|
D | display_mode_vba.c | 197 dml_get_pipe_attr_func(swath_height_c, mode_lib->vba.SwathHeightC);
|