/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 349 double GlobalDPPCLK; /// <brief the Max DPPCLK freq out of all pipes member 698 double GlobalDPPCLK; member
|
H A D | dml2_core_shared.c | 1370 mode_lib->ms.GlobalDPPCLK = 0; in dml2_core_shared_mode_support() 1373 mode_lib->ms.GlobalDPPCLK = math_max2(mode_lib->ms.GlobalDPPCLK, mode_lib->ms.RequiredDPPCLK[k]); in dml2_core_shared_mode_support() 1376 …RequiredDISPCLK > mode_lib->ms.max_dispclk_freq_mhz) || (mode_lib->ms.GlobalDPPCLK > mode_lib->ms.… in dml2_core_shared_mode_support() 9842 mode_lib->mp.GlobalDPPCLK = programming->min_clocks.dcn4x.dpprefclk_khz / 1000.0; in dml2_core_shared_mode_programming() 9897 dml2_assert(mode_lib->mp.GlobalDPPCLK > 0); in dml2_core_shared_mode_programming() 9919 dml2_printf("DML::%s: GlobalDPPCLK = %f\n", __func__, mode_lib->mp.GlobalDPPCLK); in dml2_core_shared_mode_programming() 12284 out->min_clocks.dcn4x.dpprefclk_khz = (int unsigned)(mode_lib->mp.GlobalDPPCLK * 1000.0); in dml2_core_shared_get_informative()
|
H A D | dml2_core_dcn4_calcs.c | 335 dml_get_var_func(global_dppclk_khz, double, mode_lib->mp.GlobalDPPCLK * 1000.0); 7688 mode_lib->ms.GlobalDPPCLK = 0; in dml_core_mode_support() 7691 mode_lib->ms.GlobalDPPCLK = math_max2(mode_lib->ms.GlobalDPPCLK, mode_lib->ms.RequiredDPPCLK[k]); in dml_core_mode_support() 7694 …RequiredDISPCLK > mode_lib->ms.max_dispclk_freq_mhz) || (mode_lib->ms.GlobalDPPCLK > mode_lib->ms.… in dml_core_mode_support() 10011 mode_lib->mp.GlobalDPPCLK = programming->min_clocks.dcn4x.dpprefclk_khz / 1000.0; in dml_core_mode_programming() 10066 dml2_assert(mode_lib->mp.GlobalDPPCLK > 0); in dml_core_mode_programming() 10088 dml2_printf("DML::%s: GlobalDPPCLK = %f\n", __func__, mode_lib->mp.GlobalDPPCLK); in dml_core_mode_programming()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 287 double *GlobalDPPCLK,
|
H A D | display_mode_vba_util_32.c | 1559 double *GlobalDPPCLK, in dml32_CalculateDPPCLK() argument 1563 *GlobalDPPCLK = 0; in dml32_CalculateDPPCLK() 1566 *GlobalDPPCLK = dml_max(*GlobalDPPCLK, Dppclk[k]); in dml32_CalculateDPPCLK() 1568 *GlobalDPPCLK = dml32_RoundToDFSGranularity(*GlobalDPPCLK, 1, DISPCLKDPPCLKVCOSpeed); in dml32_CalculateDPPCLK() 1570 Dppclk[k] = *GlobalDPPCLK / 255 * dml_ceil(Dppclk[k] * 255.0 / *GlobalDPPCLK, 1.0); in dml32_CalculateDPPCLK()
|
H A D | display_mode_vba_32.c | 82 v->GlobalDPPCLK = 0.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 138 &v->GlobalDPPCLK, v->DPPCLK); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2261 &mode_lib->vba.GlobalDPPCLK, mode_lib->vba.RequiredDPPCLKThisState); in dml32_ModeSupportAndSystemConfigurationFull() 2268 || (mode_lib->vba.GlobalDPPCLK > mode_lib->vba.MaxDppclk[i])); in dml32_ModeSupportAndSystemConfigurationFull()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_mode_vba_20.c | 1093 mode_lib->vba.GlobalDPPCLK = 0.0; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1283 mode_lib->vba.GlobalDPPCLK = dml_max( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1284 mode_lib->vba.GlobalDPPCLK, in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1287 mode_lib->vba.GlobalDPPCLK = RoundToDFSGranularityUp( in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1288 mode_lib->vba.GlobalDPPCLK, in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1291 mode_lib->vba.DPPCLK_calculated[k] = mode_lib->vba.GlobalDPPCLK / 255 in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1294 / mode_lib->vba.GlobalDPPCLK, in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
H A D | display_mode_vba_20v2.c | 1153 mode_lib->vba.GlobalDPPCLK = 0.0; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1343 mode_lib->vba.GlobalDPPCLK = dml_max( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1344 mode_lib->vba.GlobalDPPCLK, in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1347 mode_lib->vba.GlobalDPPCLK = RoundToDFSGranularityUp( in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1348 mode_lib->vba.GlobalDPPCLK, in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1351 mode_lib->vba.DPPCLK_calculated[k] = mode_lib->vba.GlobalDPPCLK / 255 in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1354 / mode_lib->vba.GlobalDPPCLK, in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core_structs.h | 778 dml_float_t GlobalDPPCLK; /// <brief the Max DPPCLK freq out of all pipes member 1095 dml_float_t GlobalDPPCLK; member
|
H A D | display_mode_core.c | 161 dml_float_t *GlobalDPPCLK, 5696 dml_float_t *GlobalDPPCLK, in CalculateDPPCLK() argument 5699 *GlobalDPPCLK = 0; in CalculateDPPCLK() 5702 *GlobalDPPCLK = dml_max(*GlobalDPPCLK, Dppclk[k]); in CalculateDPPCLK() 5704 *GlobalDPPCLK = RoundToDFSGranularity(*GlobalDPPCLK, 1, DISPCLKDPPCLKVCOSpeed); in CalculateDPPCLK() 5706 dml_print("DML::%s: GlobalDPPCLK = %f\n", __func__, *GlobalDPPCLK); in CalculateDPPCLK() 5708 Dppclk[k] = *GlobalDPPCLK / 255.0 * dml_ceil(Dppclk[k] * 255.0 / *GlobalDPPCLK, 1.0); in CalculateDPPCLK() 7232 &mode_lib->ms.GlobalDPPCLK, in dml_core_mode_support() 7239 …RequiredDISPCLK[j] > mode_lib->ms.state.dispclk_mhz) || (mode_lib->ms.GlobalDPPCLK > mode_lib->ms.… in dml_core_mode_support() 8334 locals->GlobalDPPCLK = 0.0; in dml_core_mode_programming() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 1477 mode_lib->vba.GlobalDPPCLK = 0.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1663 mode_lib->vba.GlobalDPPCLK = dml_max( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1664 mode_lib->vba.GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1667 mode_lib->vba.GlobalDPPCLK = RoundToDFSGranularityUp( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1668 mode_lib->vba.GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1671 mode_lib->vba.DPPCLK_calculated[k] = mode_lib->vba.GlobalDPPCLK / 255 in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1674 / mode_lib->vba.GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 272 double GlobalDPPCLK; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 1868 v->GlobalDPPCLK = 0.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2010 v->GlobalDPPCLK = dml_max( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2011 v->GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2014 v->GlobalDPPCLK = RoundToDFSGranularityUp( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2015 v->GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2018 v->DPPCLK_calculated[k] = v->GlobalDPPCLK / 255 in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2021 / v->GlobalDPPCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 2020 v->GlobalDPPCLK = 0.0; 2154 v->GlobalDPPCLK = dml_max(v->GlobalDPPCLK, v->DPPCLK_calculated[k]); 2156 v->GlobalDPPCLK = RoundToDFSGranularityUp(v->GlobalDPPCLK, v->DISPCLKDPPCLKVCOSpeed); 2158 …v->DPPCLK_calculated[k] = v->GlobalDPPCLK / 255 * dml_ceil(v->DPPCLK_calculated[k] * 255.0 / v->Gl…
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 2003 v->GlobalDPPCLK = 0.0; 2136 v->GlobalDPPCLK = dml_max(v->GlobalDPPCLK, v->DPPCLK_calculated[k]); 2138 v->GlobalDPPCLK = RoundToDFSGranularityUp(v->GlobalDPPCLK, v->DISPCLKDPPCLKVCOSpeed); 2140 …v->DPPCLK_calculated[k] = v->GlobalDPPCLK / 255 * dml_ceil(v->DPPCLK_calculated[k] * 255.0 / v->Gl…
|