/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 454 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()
|
D | dcn10_dpp.h | 1395 int vtaps);
|
/linux-6.1.9/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.1.9/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.1.9/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 | 1418 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/ |
D | display_mode_vba_30.c | 176 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/ |
D | dce_v6_0.c | 507 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()
|
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 | 709 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()
|
D | dce_v11_0.c | 735 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/ |
D | display_mode_vba_31.c | 192 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/ |
D | display_mode_lib.c | 260 dml_print("DML PARAMS: vtaps = %d\n", scale_taps->vtaps); in dml_log_pipe_params()
|
D | display_mode_structs.h | 500 unsigned int vtaps; member
|
D | display_mode_vba.c | 594 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
|
D | display_mode_vba.h | 457 unsigned int vtaps[DC__NUM_DPP__MAX]; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 204 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/ |
D | dcn_calcs.h | 203 float vtaps[number_of_planes_minus_one + 1]; member
|
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_32.c | 128 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()
|
D | display_mode_vba_util_32.c | 4375 …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()
|