Home
last modified time | relevance | path

Searched refs:v_ratio (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
61 v->v_ratio[k] = v->h_ratio[k]; in scaler_settings_calculation()
64 v->v_ratio[k] = 2.0 * v->v_ratio[k]; in scaler_settings_calculation()
68 v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor; in scaler_settings_calculation()
89 if (v->v_ratio[k] > 1.0) { in scaler_settings_calculation()
90 …v->acceptable_quality_vta_ps =dcn_bw_min2(v->max_vscl_taps, 2.0 *dcn_bw_ceil2(v->v_ratio[k], 1.0)); in scaler_settings_calculation()
92 else if (v->v_ratio[k] < 1.0) { in scaler_settings_calculation()
132v_ratio[k] > v->max_vscl_ratio || v->h_ratio[k] > v->htaps[k] || v->v_ratio[k] > v->vtaps[k] || (v… in mode_support_and_system_configuration()
176 …byte_per_pixel_in_dety[k], 1.0) * v->v_ratio[k] +dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0) /… in mode_support_and_system_configuration()
[all …]
Ddcn_calcs.c1131 … dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k]; in dcn_validate_bandwidth()
1133 …dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k] … in dcn_validate_bandwidth()
/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c87 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set()
101 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
109 exynos_state->src.h = (actual_h * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
220 state->v_ratio == (1 << 15)) in exynos_drm_plane_check_size()
Dexynos_drm_scaler.c267 u32 val, h_ratio, v_ratio; in scaler_set_hv_ratio() local
271 v_ratio = (src_pos->w << 16) / dst_pos->h; in scaler_set_hv_ratio()
274 v_ratio = (src_pos->h << 16) / dst_pos->h; in scaler_set_hv_ratio()
280 val = SCALER_V_RATIO_SET(v_ratio); in scaler_set_hv_ratio()
Dexynos_drm_drv.h68 unsigned int v_ratio; member
Dexynos_mixer.c579 vp_reg_write(ctx, VP_V_RATIO, state->v_ratio); in vp_video_buffer()
643 y_ratio = state->v_ratio == (1 << 15); in mixer_graph_buffer()
/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h201 float v_ratio[number_of_planes_minus_one + 1]; member