/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 487 bool dpp1_dscl_is_lb_conf_valid(int ceil_vratio, int num_partitions, int vtaps) in dpp1_dscl_is_lb_conf_valid() argument 490 return vtaps <= (num_partitions - ceil_vratio + 2); in dpp1_dscl_is_lb_conf_valid() 492 return vtaps <= num_partitions; in dpp1_dscl_is_lb_conf_valid() 500 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config() local 515 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 522 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 531 if (dpp1_dscl_is_lb_conf_valid(ceil_vratio, num_part_y, vtaps) in dpp1_dscl_find_lb_memory_config() 540 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);
|
/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_mode_vba_21.c | 163 double vtaps, 321 unsigned int vtaps[], 1212 double vtaps, in CalculatePrefetchSourceLines() argument 1223 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 1225 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1518 mode_lib->vba.vtaps[k] / 6.0 in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1528 if ((mode_lib->vba.htaps[k] > 6 || mode_lib->vba.vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1865 mode_lib->vba.vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2451 mode_lib->vba.vtaps, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3419 || mode_lib->vba.vtaps[k] != 1.0)) { in dml21_ModeSupportAndSystemConfigurationFull() [all …]
|
/drivers/gpu/drm/amd/display/dc/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()
|
/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 …]
|
/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 176 double vtaps, 331 unsigned int vtaps[], 1682 double vtaps, in CalculatePrefetchSourceLines() argument 1693 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); in CalculatePrefetchSourceLines() 1695 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); in CalculatePrefetchSourceLines() 1980 * dml_max(v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1983 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2360 v->vtaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 2845 v->vtaps, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3681 || v->vtaps[k] != 1.0)) { in dml30_ModeSupportAndSystemConfigurationFull() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
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_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_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()
|
/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_structs.h | 332 unsigned int vtaps; member
|
D | display_mode_lib.c | 234 dml_print("DML PARAMS: vtaps = %d\n", scale_taps->vtaps); in dml_log_pipe_params()
|
D | display_mode_vba.c | 449 mode_lib->vba.vtaps[mode_lib->vba.NumberOfActivePlanes] = taps->vtaps; in fetch_pipe_params()
|
D | display_mode_vba.h | 305 unsigned int vtaps[DC__NUM_DPP__MAX]; member
|
/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 198 double vtaps, 1790 double vtaps, argument 1802 *VInitPreFill = dml_floor((VRatio + vtaps + 1) / 2.0, 1); 1804 *VInitPreFill = dml_floor((VRatio + vtaps + 1 + Interlace * 0.5 * VRatio) / 2.0, 1); 1831 dml_print("DML::%s: vtaps = %f\n", __func__, vtaps); 2114 v->vtaps[k] / 6.0 * dml_min(1.0, v->HRatio[k]), 2117 if ((v->htaps[k] > 6 || v->vtaps[k] > 6) && v->DPPCLKUsingSingleDPPLuma < 2 * v->PixelClock[k]) { 2474 v->vtaps[k], 3858 || v->VRatio[k] != 1.0 || v->vtaps[k] != 1.0)) { 3860 } else if (v->vtaps[k] < 1.0 || v->vtaps[k] > 8.0 || v->htaps[k] < 1.0 || v->htaps[k] > 8.0 [all …]
|
/drivers/gpu/drm/radeon/ |
D | evergreen.c | 1945 u32 vtaps; /* vertical scaler taps */ member 2082 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in evergreen_latency_watermark() 2083 (wm->vtaps >= 5) || in evergreen_latency_watermark() 2139 if (lb_partitions <= (wm->vtaps + 1)) in evergreen_check_latency_hiding() 2199 wm_high.vtaps = 1; in evergreen_program_watermarks() 2201 wm_high.vtaps = 2; in evergreen_program_watermarks() 2226 wm_low.vtaps = 1; in evergreen_program_watermarks() 2228 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()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 203 float vtaps[number_of_planes_minus_one + 1]; member
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 2232 pipes[pipe_cnt].pipe.scale_taps.vtaps = 1; in dcn20_populate_dml_pipes_from_context() 2319 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context()
|