/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 450 bool dpp1_dscl_is_lb_conf_valid(int ceil_vratio, int num_partitions, int vtaps) in dpp1_dscl_is_lb_conf_valid() argument 453 return vtaps <= (num_partitions - ceil_vratio + 2); in dpp1_dscl_is_lb_conf_valid() 455 return vtaps <= num_partitions; in dpp1_dscl_is_lb_conf_valid() 463 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config() local 478 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 485 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 494 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 503 ASSERT(dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config()
|
D | dcn10_dpp.h | 1399 int vtaps);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 163 double vtaps, 321 unsigned int vtaps[], 1214 double vtaps, in CalculatePrefetchSourceLines() argument 1225 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 1227 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1520 mode_lib->vba.vtaps[k] / 6.0 in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1530 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1867 mode_lib->vba.vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2453 mode_lib->vba.vtaps, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3542 || mode_lib->vba.vtaps[k] != 1.0)) { in dml21_ModeSupportAndSystemConfigurationFull() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_auto.c | 99 v->vtaps[k] = v->override_vta_ps[k]; in scaler_settings_calculation() 102 v->vtaps[k] = v->acceptable_quality_vta_ps; in scaler_settings_calculation() 132 … > v->max_vscl_ratio || v->h_ratio[k] > v->htaps[k] || v->v_ratio[k] > v->vtaps[k] || (v->source_p… in mode_support_and_system_configuration() 331 …v->min_dppclk_using_single_dpp[k] = v->pixel_clock[k] *dcn_bw_max3(v->vtaps[k] / 6.0 *dcn_bw_min2(… in mode_support_and_system_configuration() 340 …v->min_dppclk_using_single_dpp[k] = v->pixel_clock[k] *dcn_bw_max5(v->vtaps[k] / 6.0 *dcn_bw_min2(… in mode_support_and_system_configuration() 427 …v->number_of_dpp_required_for_lb_size =dcn_bw_ceil2((v->vtaps[k] +dcn_bw_max2(dcn_bw_ceil2(v->v_ra… in mode_support_and_system_configuration() 430 …v->number_of_dpp_required_for_lb_size =dcn_bw_max2(dcn_bw_ceil2((v->vtaps[k] +dcn_bw_max2(dcn_bw_c… in mode_support_and_system_configuration() 554 …(v->swath_width_yper_state[i][j][k] /dcn_bw_max2(v->h_ratio[k], 1.0)), 1.0)) - (v->vtaps[k] - 1.0); in mode_support_and_system_configuration() 747 …v->v_init_y = (v->v_ratio[k] + v->vtaps[k] + 1.0 + v->interlace_output[k] * 0.5 * v->v_ratio[k]) /… in mode_support_and_system_configuration() 759 …v->v_init_c = (v->v_ratio[k] / 2.0 + v->vtaps[k] + 1.0 + v->interlace_output[k] * 0.5 * v->v_ratio… in mode_support_and_system_configuration() [all …]
|
D | dcn_calcs.c | 404 input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; in pipe_ctx_to_e2e_pipe_params()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_mode_vba_20.c | 125 double vtaps, 815 double vtaps, in CalculatePrefetchSourceLines() argument 826 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 828 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1136 mode_lib->vba.vtaps[k] / 6.0 in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1146 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1896 mode_lib->vba.vtaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2422 1)) - (mode_lib->vba.vtaps[k] - 1); in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3308 || mode_lib->vba.vtaps[k] != 1.0)) { in dml20_ModeSupportAndSystemConfigurationFull() 3310 } else if (mode_lib->vba.vtaps[k] < 1.0 || mode_lib->vba.vtaps[k] > 8.0 in dml20_ModeSupportAndSystemConfigurationFull() [all …]
|
D | display_mode_vba_20v2.c | 149 double vtaps, 875 double vtaps, in CalculatePrefetchSourceLines() argument 886 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 888 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1196 mode_lib->vba.vtaps[k] / 6.0 in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1206 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1932 mode_lib->vba.vtaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2456 1)) - (mode_lib->vba.vtaps[k] - 1); in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3415 || mode_lib->vba.vtaps[k] != 1.0)) { in dml20v2_ModeSupportAndSystemConfigurationFull() 3417 } else if (mode_lib->vba.vtaps[k] < 1.0 || mode_lib->vba.vtaps[k] > 8.0 in dml20v2_ModeSupportAndSystemConfigurationFull() [all …]
|
D | dcn20_fpu.c | 1568 pipes[pipe_cnt].pipe.scale_taps.vtaps = 1; in dcn20_populate_dml_pipes_from_context() 1674 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 174 double vtaps, 329 unsigned int vtaps[], 1613 double vtaps, in CalculatePrefetchSourceLines() argument 1624 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 1626 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1911 * dml_max(v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1914 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2291 v->vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2776 v->vtaps, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3575 || v->vtaps[k] != 1.0)) { in dml30_ModeSupportAndSystemConfigurationFull() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 509 u32 vtaps; /* vertical scaler taps */ member 712 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark() 713 (wm->vtaps >= 5) || in dce_v6_0_latency_watermark() 802 if (lb_partitions <= (wm->vtaps + 1)) in dce_v6_0_check_latency_hiding() 873 wm_high.vtaps = 1; in dce_v6_0_program_watermarks() 875 wm_high.vtaps = 2; in dce_v6_0_program_watermarks() 900 wm_low.vtaps = 1; in dce_v6_0_program_watermarks() 902 wm_low.vtaps = 2; in dce_v6_0_program_watermarks()
|
D | dce_v8_0.c | 644 u32 vtaps; /* vertical scaler taps */ member 847 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v8_0_latency_watermark() 848 (wm->vtaps >= 5) || in dce_v8_0_latency_watermark() 937 if (lb_partitions <= (wm->vtaps + 1)) in dce_v8_0_check_latency_hiding() 999 wm_high.vtaps = 1; in dce_v8_0_program_watermarks() 1001 wm_high.vtaps = 2; in dce_v8_0_program_watermarks() 1038 wm_low.vtaps = 1; in dce_v8_0_program_watermarks() 1040 wm_low.vtaps = 2; in dce_v8_0_program_watermarks()
|
D | dce_v10_0.c | 705 u32 vtaps; /* vertical scaler taps */ member 908 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v10_0_latency_watermark() 909 (wm->vtaps >= 5) || in dce_v10_0_latency_watermark() 998 if (lb_partitions <= (wm->vtaps + 1)) in dce_v10_0_check_latency_hiding() 1060 wm_high.vtaps = 1; in dce_v10_0_program_watermarks() 1062 wm_high.vtaps = 2; in dce_v10_0_program_watermarks() 1099 wm_low.vtaps = 1; in dce_v10_0_program_watermarks() 1101 wm_low.vtaps = 2; in dce_v10_0_program_watermarks()
|
D | dce_v11_0.c | 737 u32 vtaps; /* vertical scaler taps */ member 940 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v11_0_latency_watermark() 941 (wm->vtaps >= 5) || in dce_v11_0_latency_watermark() 1030 if (lb_partitions <= (wm->vtaps + 1)) in dce_v11_0_check_latency_hiding() 1092 wm_high.vtaps = 1; in dce_v11_0_program_watermarks() 1094 wm_high.vtaps = 2; in dce_v11_0_program_watermarks() 1131 wm_low.vtaps = 1; in dce_v11_0_program_watermarks() 1133 wm_low.vtaps = 2; in dce_v11_0_program_watermarks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.c | 259 dml_print("DML PARAMS: vtaps = %d\n", scale_taps->vtaps); in dml_log_pipe_params()
|
D | display_mode_structs.h | 502 unsigned int vtaps; member
|
D | display_mode_vba.c | 600 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
|
D | display_mode_vba.h | 468 unsigned int vtaps[DC__NUM_DPP__MAX]; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 191 double vtaps, 1738 double vtaps, argument 1750 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); 1752 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); 1779 dml_print("DML::%s: vtaps = %f\n", __func__, vtaps); 2062 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), 2065 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) { 2422 v->vtaps[k], 3829 || v->VRatio[k] != 1.0 || v->vtaps[k] != 1.0)) { 3831 } else if (v->vtaps[k] < 1.0 || v->vtaps[k] > 8.0 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 203 double vtaps, 1758 double vtaps, argument 1770 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); 1772 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); 1799 dml_print("DML::%s: vtaps = %f\n", __func__, vtaps); 2083 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), 2086 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) { 2443 v->vtaps[k], 3924 || v->VRatio[k] != 1.0 || v->vtaps[k] != 1.0)) { 3926 } else if (v->vtaps[k] < 1.0 || v->vtaps[k] > 8.0 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 203 float vtaps[number_of_planes_minus_one + 1]; member
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | evergreen.c | 1946 u32 vtaps; /* vertical scaler taps */ member 2083 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in evergreen_latency_watermark() 2084 (wm->vtaps >= 5) || in evergreen_latency_watermark() 2140 if (lb_partitions <= (wm->vtaps + 1)) in evergreen_check_latency_hiding() 2200 wm_high.vtaps = 1; in evergreen_program_watermarks() 2202 wm_high.vtaps = 2; in evergreen_program_watermarks() 2227 wm_low.vtaps = 1; in evergreen_program_watermarks() 2229 wm_low.vtaps = 2; in evergreen_program_watermarks()
|
D | si.c | 2065 u32 vtaps; /* vertical scaler taps */ member 2220 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce6_latency_watermark() 2221 (wm->vtaps >= 5) || in dce6_latency_watermark() 2279 if (lb_partitions <= (wm->vtaps + 1)) in dce6_check_latency_hiding() 2342 wm_high.vtaps = 1; in dce6_program_watermarks() 2344 wm_high.vtaps = 2; in dce6_program_watermarks() 2369 wm_low.vtaps = 1; in dce6_program_watermarks() 2371 wm_low.vtaps = 2; in dce6_program_watermarks()
|
D | cik.c | 8911 u32 vtaps; /* vertical scaler taps */ member 9114 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce8_latency_watermark() 9115 (wm->vtaps >= 5) || in dce8_latency_watermark() 9204 if (lb_partitions <= (wm->vtaps + 1)) in dce8_check_latency_hiding() 9267 wm_high.vtaps = 1; in dce8_program_watermarks() 9269 wm_high.vtaps = 2; in dce8_program_watermarks() 9307 wm_low.vtaps = 1; in dce8_program_watermarks() 9309 wm_low.vtaps = 2; in dce8_program_watermarks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_32.c | 127 mode_lib->vba.vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 447 …hParametersWatermarksAndPerformanceCalculation.SurfaceParameters[k].VTaps = mode_lib->vba.vtaps[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1758 || mode_lib->vba.VRatio[k] != 1.0 || mode_lib->vba.vtaps[k] != 1.0)) { in dml32_ModeSupportAndSystemConfigurationFull() 1760 …} else if (mode_lib->vba.vtaps[k] < 1.0 || mode_lib->vba.vtaps[k] > 8.0 || mode_lib->vba.htaps[k] … in dml32_ModeSupportAndSystemConfigurationFull() 1766 || mode_lib->vba.VRatio[k] > mode_lib->vba.vtaps[k] in dml32_ModeSupportAndSystemConfigurationFull() 1906 mode_lib->vba.htaps[k], mode_lib->vba.HTAPsChroma[k], mode_lib->vba.vtaps[k], in dml32_ModeSupportAndSystemConfigurationFull() 1940 / (mode_lib->vba.vtaps[k] + dml_max(dml_ceil(mode_lib->vba.VRatio[k], 1.0) - 2, 0.0)); in dml32_ModeSupportAndSystemConfigurationFull() 2741 …_vars.dml32_ModeSupportAndSystemConfigurationFull.SurfParameters[k].VTaps = mode_lib->vba.vtaps[k]; in dml32_ModeSupportAndSystemConfigurationFull()
|
D | display_mode_vba_util_32.c | 4406 …nal / v->LBBitPerPixel[k] / (SwathWidthY[k] / dml_max(v->HRatio[k], 1.0)), 1)) - (v->vtaps[k] - 1); in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() 4415 dml_print("DML::%s: k=%d, v->vtaps = %d\n", __func__, k, v->vtaps[k]); in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
|