/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.c | 259 dml_print("DML PARAMS: htaps = %d\n", scale_taps->htaps); in dml_log_pipe_params()
|
D | display_mode_structs.h | 499 unsigned int htaps; member
|
D | display_mode_vba.c | 593 mode_lib->vba.htaps[mode_lib->vba.NumberOfActivePlanes] = taps->htaps; in fetch_pipe_params()
|
D | display_mode_vba.h | 456 unsigned int htaps[DC__NUM_DPP__MAX]; member
|
D | dml1_display_rq_dlg_calc.c | 1217 htaps_l = e2e_pipe_param->pipe.scale_taps.htaps; in dml1_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 202 float htaps[number_of_planes_minus_one + 1]; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 1124 mode_lib->vba.htaps[k] in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1146 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3306 || mode_lib->vba.htaps[k] != 1.0 in dml20_ModeSupportAndSystemConfigurationFull() 3311 || mode_lib->vba.htaps[k] < 1.0 || mode_lib->vba.htaps[k] > 8.0 in dml20_ModeSupportAndSystemConfigurationFull() 3312 || (mode_lib->vba.htaps[k] > 1.0 in dml20_ModeSupportAndSystemConfigurationFull() 3313 && (mode_lib->vba.htaps[k] % 2) == 1) in dml20_ModeSupportAndSystemConfigurationFull() 3316 || mode_lib->vba.HRatio[k] > mode_lib->vba.htaps[k] in dml20_ModeSupportAndSystemConfigurationFull() 3675 mode_lib->vba.htaps[k] in dml20_ModeSupportAndSystemConfigurationFull() 3696 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0) in dml20_ModeSupportAndSystemConfigurationFull() 3740 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0 in dml20_ModeSupportAndSystemConfigurationFull()
|
D | display_mode_vba_20v2.c | 1184 mode_lib->vba.htaps[k] in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1206 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3413 || mode_lib->vba.htaps[k] != 1.0 in dml20v2_ModeSupportAndSystemConfigurationFull() 3418 || mode_lib->vba.htaps[k] < 1.0 || mode_lib->vba.htaps[k] > 8.0 in dml20v2_ModeSupportAndSystemConfigurationFull() 3419 || (mode_lib->vba.htaps[k] > 1.0 in dml20v2_ModeSupportAndSystemConfigurationFull() 3420 && (mode_lib->vba.htaps[k] % 2) == 1) in dml20v2_ModeSupportAndSystemConfigurationFull() 3423 || mode_lib->vba.HRatio[k] > mode_lib->vba.htaps[k] in dml20v2_ModeSupportAndSystemConfigurationFull() 3782 mode_lib->vba.htaps[k] in dml20v2_ModeSupportAndSystemConfigurationFull() 3803 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0) in dml20v2_ModeSupportAndSystemConfigurationFull() 3847 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0 in dml20v2_ModeSupportAndSystemConfigurationFull()
|
D | display_rq_dlg_calc_20.c | 984 htaps_l = taps->htaps; in dml20_rq_dlg_get_dlg_params()
|
D | display_rq_dlg_calc_20v2.c | 985 htaps_l = taps->htaps; in dml20v2_rq_dlg_get_dlg_params()
|
D | dcn20_fpu.c | 1417 pipes[pipe_cnt].pipe.scale_taps.htaps = 1; in dcn20_populate_dml_pipes_from_context() 1521 pipes[pipe_cnt].pipe.scale_taps.htaps = scl->taps.h_taps; in dcn20_populate_dml_pipes_from_context()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 1508 mode_lib->vba.htaps[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1530 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3540 || mode_lib->vba.htaps[k] != 1.0 in dml21_ModeSupportAndSystemConfigurationFull() 3545 || mode_lib->vba.htaps[k] < 1.0 || mode_lib->vba.htaps[k] > 8.0 in dml21_ModeSupportAndSystemConfigurationFull() 3546 || (mode_lib->vba.htaps[k] > 1.0 in dml21_ModeSupportAndSystemConfigurationFull() 3547 && (mode_lib->vba.htaps[k] % 2) == 1) in dml21_ModeSupportAndSystemConfigurationFull() 3550 || mode_lib->vba.HRatio[k] > mode_lib->vba.htaps[k] in dml21_ModeSupportAndSystemConfigurationFull() 3871 mode_lib->vba.htaps[k] in dml21_ModeSupportAndSystemConfigurationFull() 3892 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0) in dml21_ModeSupportAndSystemConfigurationFull() 3936 if ((mode_lib->vba.htaps[k] > 6.0 || mode_lib->vba.vtaps[k] > 6.0 in dml21_ModeSupportAndSystemConfigurationFull()
|
D | display_rq_dlg_calc_21.c | 1036 htaps_l = taps->htaps; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 1903 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1914 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3574 || v->htaps[k] != 1.0 in dml30_ModeSupportAndSystemConfigurationFull() 3579 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 in dml30_ModeSupportAndSystemConfigurationFull() 3580 || (v->htaps[k] > 1.0 in dml30_ModeSupportAndSystemConfigurationFull() 3581 && (v->htaps[k] % 2) == 1) in dml30_ModeSupportAndSystemConfigurationFull() 3584 || v->HRatio[k] > v->htaps[k] in dml30_ModeSupportAndSystemConfigurationFull() 3757 …DCHUBToPSCLThroughput, v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1.0)); in dml30_ModeSupportAndSystemConfigurationFull() 3765 …if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0) && v->MinDPPCLKUsingSingleDPP[k] < 2.0 * v->PixelCloc… in dml30_ModeSupportAndSystemConfigurationFull() 3780 … if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0 || v->HTAPsChroma[k] > 6.0 || v->VTAPsChroma[k] > 6.0) in dml30_ModeSupportAndSystemConfigurationFull()
|
D | display_rq_dlg_calc_30.c | 1096 htaps_l = taps->htaps; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 2052 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); 2062 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) { 3822 && v->SourcePixelFormat[k] != dm_rgbe_alpha) || v->HRatio[k] != 1.0 || v->htaps[k] != 1.0 3825 } else if (v->vtaps[k] < 1.0 || v->vtaps[k] > 8.0 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 3826 || (v->htaps[k] > 1.0 && (v->htaps[k] % 2) == 1) || v->HRatio[k] > v->MaxHSCLRatio 3827 || v->VRatio[k] > v->MaxVSCLRatio || v->HRatio[k] > v->htaps[k] 3958 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1.0)); 3969 …if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0) && v->MinDPPCLKUsingSingleDPP[k] < 2.0 * v->PixelCloc… 3987 … if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0 || v->HTAPsChroma[k] > 6.0 || v->VTAPsChroma[k] > 6.0)
|
D | display_rq_dlg_calc_31.c | 1017 htaps_l = taps->htaps; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 2074 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1)); 2084 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) { 3921 && v->SourcePixelFormat[k] != dm_rgbe_alpha) || v->HRatio[k] != 1.0 || v->htaps[k] != 1.0 3924 } else if (v->vtaps[k] < 1.0 || v->vtaps[k] > 8.0 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 3925 || (v->htaps[k] > 1.0 && (v->htaps[k] % 2) == 1) || v->HRatio[k] > v->MaxHSCLRatio 3926 || v->VRatio[k] > v->MaxVSCLRatio || v->HRatio[k] > v->htaps[k] 4055 v->MaxPSCLToLBThroughput * v->HRatio[k] / dml_ceil(v->htaps[k] / 6.0, 1.0)); 4066 …if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0) && v->MinDPPCLKUsingSingleDPP[k] < 2.0 * v->PixelCloc… 4084 … if ((v->htaps[k] > 6.0 || v->vtaps[k] > 6.0 || v->HTAPsChroma[k] > 6.0 || v->VTAPsChroma[k] > 6.0)
|
D | display_rq_dlg_calc_314.c | 1115 htaps_l = taps->htaps; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_32.c | 126 mode_lib->vba.htaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1735 || mode_lib->vba.HRatio[k] != 1.0 || mode_lib->vba.htaps[k] != 1.0 in dml32_ModeSupportAndSystemConfigurationFull() 1738 …} else if (mode_lib->vba.vtaps[k] < 1.0 || mode_lib->vba.vtaps[k] > 8.0 || mode_lib->vba.htaps[k] … in dml32_ModeSupportAndSystemConfigurationFull() 1739 || mode_lib->vba.htaps[k] > 8.0 in dml32_ModeSupportAndSystemConfigurationFull() 1740 || (mode_lib->vba.htaps[k] > 1.0 && (mode_lib->vba.htaps[k] % 2) == 1) in dml32_ModeSupportAndSystemConfigurationFull() 1743 || mode_lib->vba.HRatio[k] > mode_lib->vba.htaps[k] in dml32_ModeSupportAndSystemConfigurationFull() 1884 mode_lib->vba.htaps[k], mode_lib->vba.HTAPsChroma[k], mode_lib->vba.vtaps[k], in dml32_ModeSupportAndSystemConfigurationFull()
|
D | dcn32_fpu.c | 393 pipe_e2e->pipe.scale_taps.htaps, in dcn32_predict_pipe_split()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_auto.c | 84 v->htaps[k] = v->override_hta_ps[k]; in scaler_settings_calculation() 87 v->htaps[k] = v->acceptable_quality_hta_ps; in scaler_settings_calculation() 132 …max_hscl_ratio || v->v_ratio[k] > v->max_vscl_ratio || v->h_ratio[k] > v->htaps[k] || v->v_ratio[k… in mode_support_and_system_configuration() 324 …scl_throughput, v->max_pscl_tolb_throughput * v->h_ratio[k] /dcn_bw_ceil2(v->htaps[k] / 6.0, 1.0)); in mode_support_and_system_configuration() 1185 …scl_throughput, v->max_pscl_tolb_throughput * v->h_ratio[k] /dcn_bw_ceil2(v->htaps[k] / 6.0, 1.0)); in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
|
D | dcn_calcs.c | 398 input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; in pipe_ctx_to_e2e_pipe_params()
|