/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
D | dcn35_fpu.c | 597 bool allow_z8 = context->bw_ctx.dml.vba.StutterPeriod > (double)minmum_z8_residency; in dcn35_decide_zstate_support() 600 bool allow_z10 = context->bw_ctx.dml.vba.StutterPeriod > (double)minmum_z10_residency; in dcn35_decide_zstate_support() 613 (int)context->bw_ctx.dml.vba.StutterPeriod); in dcn35_decide_zstate_support()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 5646 double *StutterPeriod, in dml32_CalculateStutterEfficiency() 5832 *StutterPeriod = 0; in dml32_CalculateStutterEfficiency() 5860 if (!FoundCriticalSurface || DETBufferingTimeY < *StutterPeriod) { in dml32_CalculateStutterEfficiency() 5864 *StutterPeriod = DETBufferingTimeY; in dml32_CalculateStutterEfficiency() 5888 __func__, k, *StutterPeriod); in dml32_CalculateStutterEfficiency() 5914 …PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = dml_min(*StutterPeriod * TotalDataR… in dml32_CalculateStutterEfficiency() 5920 __func__, *StutterPeriod * TotalDataReadBandwidth); in dml32_CalculateStutterEfficiency() 5932 + (*StutterPeriod * TotalDataReadBandwidth in dml32_CalculateStutterEfficiency() 5934 + *StutterPeriod * TotalRowReadBandwidth / ReturnBW; in dml32_CalculateStutterEfficiency() 5939 __func__, (*StutterPeriod * TotalDataReadBandwidth)); in dml32_CalculateStutterEfficiency() [all …]
|
D | display_mode_vba_util_32.h | 1053 double *StutterPeriod,
|
D | display_mode_vba_32.c | 1569 &v->StutterPeriod, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1640 v->StutterPeriodBestCase = v->StutterPeriod; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
D | dcn32_fpu.c | 2608 context->perf_params.stutter_period_us = context->bw_ctx.dml.vba.StutterPeriod; in dcn32_calculate_wm_and_dlg_fpu()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_wrapper.c | 657 context->bw_ctx.dml.vba.StutterPeriod = context->bw_ctx.dml2->v20.dml_core_ctx.mp.StutterPeriod; in dml2_validate_and_build_resource() 661 if (context->bw_ctx.dml.vba.StutterPeriod < in_dc->debug.minimum_z8_residency_time && in dml2_validate_and_build_resource()
|
D | display_mode_core.c | 3899 *p->StutterPeriod = 0; in CalculateStutterEfficiency() 3921 if (!FoundCriticalSurface || DETBufferingTimeY < *p->StutterPeriod) { in CalculateStutterEfficiency() 3925 *p->StutterPeriod = DETBufferingTimeY; in CalculateStutterEfficiency() 3940 dml_print("DML::%s: k=%u, StutterPeriod = %f\n", __func__, k, *p->StutterPeriod); in CalculateStutterEfficiency() 3956 …PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = dml_min(*p->StutterPeriod * p->Tota… in CalculateStutterEfficiency() 3960 …dml_print("DML::%s: StutterPeriod * TotalDataReadBandwidth = %f\n", __func__, *p->StutterPeriod * … in CalculateStutterEfficiency() 3970 …*p->StutterPeriod * p->TotalDataReadBandwidth - PartOfUncompressedPixelBurstThatFitsInROBAndCompre… in CalculateStutterEfficiency() 3973 …dml_print("DML::%s: StutterPeriod * TotalDataReadBandwidth = %f\n", __func__, (*p->StutterPeriod *… in CalculateStutterEfficiency() 3974 …dml_print("DML::%s: Part 2 = %f\n", __func__, (*p->StutterPeriod * p->TotalDataReadBandwidth - Par… in CalculateStutterEfficiency() 3975 …dml_print("DML::%s: Part 3 = %f\n", __func__, *p->StutterPeriod * TotalRowReadBandwidth / p->Retur… in CalculateStutterEfficiency() [all …]
|
D | display_mode_core_structs.h | 1126 dml_float_t StutterPeriod; member 1523 dml_float_t *StutterPeriod; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 530 double *StutterPeriod); 3264 &v->StutterPeriod); 6353 double *StutterPeriod) 6465 *StutterPeriod = 0; 6486 if (k == 0 || DETBufferingTimeY < *StutterPeriod) { 6489 *StutterPeriod = DETBufferingTimeY; 6498 dml_print("DML::%s: StutterPeriod = %f\n", __func__, *StutterPeriod); 6509 …PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = dml_min(*StutterPeriod * TotalDataR… 6513 …dml_print("DML::%s: StutterPeriod * TotalDataReadBandwidth = %f\n", __func__, *StutterPeriod * Tot… 6524 …+ (*StutterPeriod * TotalDataReadBandwidth - PartOfUncompressedPixelBurstThatFitsInROBAndCompresse… [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 539 double *StutterPeriod); 3283 &v->StutterPeriod); 6448 double *StutterPeriod) 6560 *StutterPeriod = 0; 6581 if (k == 0 || DETBufferingTimeY < *StutterPeriod) { 6584 *StutterPeriod = DETBufferingTimeY; 6593 dml_print("DML::%s: StutterPeriod = %f\n", __func__, *StutterPeriod); 6604 …PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = dml_min(*StutterPeriod * TotalDataR… 6608 …dml_print("DML::%s: StutterPeriod * TotalDataReadBandwidth = %f\n", __func__, *StutterPeriod * Tot… 6619 …+ (*StutterPeriod * TotalDataReadBandwidth - PartOfUncompressedPixelBurstThatFitsInROBAndCompresse… [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared_types.h | 726 double StutterPeriod; member 1696 double *StutterPeriod; member
|
D | dml2_core_shared.c | 9613 *p->StutterPeriod = 0; in CalculateStutterEfficiency() 9632 if (!FoundCriticalSurface || l->DETBufferingTimeY < *p->StutterPeriod) { in CalculateStutterEfficiency() 9636 *p->StutterPeriod = l->DETBufferingTimeY; in CalculateStutterEfficiency() 9650 dml2_printf("DML::%s: k=%u, StutterPeriod = %f\n", __func__, k, *p->StutterPeriod); in CalculateStutterEfficiency() 9675 …l->PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = math_min2(*p->StutterPeriod * p-… in CalculateStutterEfficiency() 9678 …dBandwidth = %f (%f kbytes)\n", __func__, *p->StutterPeriod * p->TotalDataReadBandwidth, (*p->Stut… in CalculateStutterEfficiency() 9689 …(*p->StutterPeriod * p->TotalDataReadBandwidth - l->PartOfUncompressedPixelBurstThatFitsInROBAndCo… in CalculateStutterEfficiency() 9691 *p->StutterPeriod * l->TotalRowReadBandwidth / p->ReturnBW; in CalculateStutterEfficiency() 9694 …dml2_printf("DML::%s: Part 2 = %f\n", __func__, (*p->StutterPeriod * p->TotalDataReadBandwidth - l… in CalculateStutterEfficiency() 9695 …dml2_printf("DML::%s: Part 3 = %f\n", __func__, *p->StutterPeriod * l->TotalRowReadBandwidth / p->… in CalculateStutterEfficiency() [all …]
|
D | dml2_core_dcn4_calcs.c | 330 dml_get_var_func(stutter_period, double, mode_lib->mp.StutterPeriod); 9787 *p->StutterPeriod = 0; in CalculateStutterEfficiency() 9806 if (!FoundCriticalSurface || l->DETBufferingTimeY < *p->StutterPeriod) { in CalculateStutterEfficiency() 9810 *p->StutterPeriod = l->DETBufferingTimeY; in CalculateStutterEfficiency() 9824 dml2_printf("DML::%s: k=%u, StutterPeriod = %f\n", __func__, k, *p->StutterPeriod); in CalculateStutterEfficiency() 9849 …l->PartOfUncompressedPixelBurstThatFitsInROBAndCompressedBuffer = math_min2(*p->StutterPeriod * p-… in CalculateStutterEfficiency() 9852 …dBandwidth = %f (%f kbytes)\n", __func__, *p->StutterPeriod * p->TotalDataReadBandwidth, (*p->Stut… in CalculateStutterEfficiency() 9863 …(*p->StutterPeriod * p->TotalDataReadBandwidth - l->PartOfUncompressedPixelBurstThatFitsInROBAndCo… in CalculateStutterEfficiency() 9865 *p->StutterPeriod * l->TotalRowReadBandwidth / p->ReturnBW; in CalculateStutterEfficiency() 9868 …dml2_printf("DML::%s: Part 2 = %f\n", __func__, (*p->StutterPeriod * p->TotalDataReadBandwidth - l… in CalculateStutterEfficiency() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
D | dcn351_fpu.c | 631 bool allow_z8 = context->bw_ctx.dml.vba.StutterPeriod > (double)minmum_z8_residency; in dcn351_decide_zstate_support()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 3048 &v->StutterPeriod); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 5986 double StutterPeriod = 0; in CalculateStutterEfficiency() local 6010 StutterPeriod = FullDETBufferingTimeY[0]; in CalculateStutterEfficiency() 6018 if (FullDETBufferingTimeY[k] < StutterPeriod) { in CalculateStutterEfficiency() 6019 StutterPeriod = FullDETBufferingTimeY[k]; in CalculateStutterEfficiency() 6059 …PartOfBurstThatFitsInROB = dml_min(StutterPeriod * TotalDataReadBandwidth, ROBBufferSizeInKByte * … in CalculateStutterEfficiency() 6060 … = PartOfBurstThatFitsInROB / AverageDCCCompressionRate / ReturnBW + (StutterPeriod * TotalDataRea… in CalculateStutterEfficiency() 6061 - PartOfBurstThatFitsInROB) / (DCFCLK * 64) + StutterPeriod * TotalRowReadBandwidth / ReturnBW; in CalculateStutterEfficiency() 6073 - (SRExitTime + StutterBurstTime) / StutterPeriod) * 100; in CalculateStutterEfficiency() 6095 *StutterPeriodOut = StutterPeriod; in CalculateStutterEfficiency()
|
D | dcn30_fpu.c | 548 context->perf_params.stutter_period_us = context->bw_ctx.dml.vba.StutterPeriod; in dcn30_fpu_calculate_wm_and_dlg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 2716 mode_lib->vba.StutterPeriod = 999999.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2718 if (locals->FullDETBufferingTimeY[k] < mode_lib->vba.StutterPeriod) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2719 mode_lib->vba.StutterPeriod = locals->FullDETBufferingTimeY[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2759 mode_lib->vba.StutterPeriod in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2765 + (mode_lib->vba.StutterPeriod * mode_lib->vba.TotalDataReadBandwidth in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2768 + mode_lib->vba.StutterPeriod * mode_lib->vba.TotalRowReadBandwidth / mode_lib->vba.ReturnBW; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2785 / mode_lib->vba.StutterPeriod) * 100; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.h | 281 double StutterPeriod; member
|
D | display_mode_vba.c | 102 dml_get_attr_func(stutter_period, mode_lib->vba.StutterPeriod);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1086 bool allow_z8 = context->bw_ctx.dml.vba.StutterPeriod > (double)minmum_z8_residency; in decide_zstate_support() 1096 if (is_pwrseq0 && context->bw_ctx.dml.vba.StutterPeriod > 5000.0) in decide_zstate_support()
|