Home
last modified time | relevance | path

Searched refs:vtaps (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c454 bool dpp1_dscl_is_lb_conf_valid(int ceil_vratio, int num_partitions, int vtaps) in dpp1_dscl_is_lb_conf_valid() argument
457 return vtaps <= (num_partitions - ceil_vratio + 2); in dpp1_dscl_is_lb_conf_valid()
459 return vtaps <= num_partitions; in dpp1_dscl_is_lb_conf_valid()
467 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config() local
482 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config()
489 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config()
498 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config()
507 ASSERT(dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config()
Ddcn10_dpp.h1395 int vtaps);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c163 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.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calc_auto.c99 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 …]
Ddcn_calcs.c404 input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; in pipe_ctx_to_e2e_pipe_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c125 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 …]
Ddisplay_mode_vba_20v2.c149 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 …]
Ddcn20_fpu.c1418 pipes[pipe_cnt].pipe.scale_taps.vtaps = 1; in dcn20_populate_dml_pipes_from_context()
1523 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c176 double vtaps,
331 unsigned int vtaps[],
1616 double vtaps, in CalculatePrefetchSourceLines() argument
1627 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines()
1629 *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()
3576 || v->vtaps[k] != 1.0)) { in dml30_ModeSupportAndSystemConfigurationFull()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c507 u32 vtaps; /* vertical scaler taps */ member
710 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark()
711 (wm->vtaps >= 5) || in dce_v6_0_latency_watermark()
800 if (lb_partitions <= (wm->vtaps + 1)) in dce_v6_0_check_latency_hiding()
871 wm_high.vtaps = 1; in dce_v6_0_program_watermarks()
873 wm_high.vtaps = 2; in dce_v6_0_program_watermarks()
898 wm_low.vtaps = 1; in dce_v6_0_program_watermarks()
900 wm_low.vtaps = 2; in dce_v6_0_program_watermarks()
Ddce_v8_0.c644 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()
Ddce_v10_0.c709 u32 vtaps; /* vertical scaler taps */ member
912 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v10_0_latency_watermark()
913 (wm->vtaps >= 5) || in dce_v10_0_latency_watermark()
1002 if (lb_partitions <= (wm->vtaps + 1)) in dce_v10_0_check_latency_hiding()
1064 wm_high.vtaps = 1; in dce_v10_0_program_watermarks()
1066 wm_high.vtaps = 2; in dce_v10_0_program_watermarks()
1103 wm_low.vtaps = 1; in dce_v10_0_program_watermarks()
1105 wm_low.vtaps = 2; in dce_v10_0_program_watermarks()
Ddce_v11_0.c735 u32 vtaps; /* vertical scaler taps */ member
938 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v11_0_latency_watermark()
939 (wm->vtaps >= 5) || in dce_v11_0_latency_watermark()
1028 if (lb_partitions <= (wm->vtaps + 1)) in dce_v11_0_check_latency_hiding()
1090 wm_high.vtaps = 1; in dce_v11_0_program_watermarks()
1092 wm_high.vtaps = 2; in dce_v11_0_program_watermarks()
1129 wm_low.vtaps = 1; in dce_v11_0_program_watermarks()
1131 wm_low.vtaps = 2; in dce_v11_0_program_watermarks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c192 double vtaps,
1735 double vtaps, argument
1747 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1749 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1776 dml_print("DML::%s: vtaps = %f\n", __func__, vtaps);
2059 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]),
2062 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) {
2419 v->vtaps[k],
3823 || v->VRatio[k] != 1.0 || v->vtaps[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
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_lib.c260 dml_print("DML PARAMS: vtaps = %d\n", scale_taps->vtaps); in dml_log_pipe_params()
Ddisplay_mode_structs.h500 unsigned int vtaps; member
Ddisplay_mode_vba.c594 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
Ddisplay_mode_vba.h457 unsigned int vtaps[DC__NUM_DPP__MAX]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c204 double vtaps,
1756 double vtaps, argument
1768 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1);
1770 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1);
1797 dml_print("DML::%s: vtaps = %f\n", __func__, vtaps);
2081 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]),
2084 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) {
2441 v->vtaps[k],
3922 || v->VRatio[k] != 1.0 || v->vtaps[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
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h203 float vtaps[number_of_planes_minus_one + 1]; member
/linux-6.1.9/drivers/gpu/drm/radeon/
Devergreen.c1946 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()
Dsi.c2065 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()
Dcik.c8911 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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_32.c128 mode_lib->vba.vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
445 …hParametersWatermarksAndPerformanceCalculation.SurfaceParameters[k].VTaps = mode_lib->vba.vtaps[k]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
1736 || mode_lib->vba.VRatio[k] != 1.0 || mode_lib->vba.vtaps[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()
1744 || mode_lib->vba.VRatio[k] > mode_lib->vba.vtaps[k] in dml32_ModeSupportAndSystemConfigurationFull()
1884 mode_lib->vba.htaps[k], mode_lib->vba.HTAPsChroma[k], mode_lib->vba.vtaps[k], in dml32_ModeSupportAndSystemConfigurationFull()
1918 / (mode_lib->vba.vtaps[k] + dml_max(dml_ceil(mode_lib->vba.VRatio[k], 1.0) - 2, 0.0)); in dml32_ModeSupportAndSystemConfigurationFull()
2713 …_vars.dml32_ModeSupportAndSystemConfigurationFull.SurfParameters[k].VTaps = mode_lib->vba.vtaps[k]; in dml32_ModeSupportAndSystemConfigurationFull()
Ddisplay_mode_vba_util_32.c4375 …nal / v->LBBitPerPixel[k] / (SwathWidthY[k] / dml_max(v->HRatio[k], 1.0)), 1)) - (v->vtaps[k] - 1); in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
4384 dml_print("DML::%s: k=%d, v->vtaps = %d\n", __func__, k, v->vtaps[k]); in dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()

12