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

/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c88 exynos_state->v_ratio = (src_h << 16) / crtc_h;
102 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16;
110 exynos_state->src.h = (actual_h * exynos_state->v_ratio) >> 16;
221 state->v_ratio == (1 << 15))
H A Dexynos_drm_drv.h57 * @v_ratio: vertical scaling ratio, 16.16 fixed point
68 unsigned int v_ratio; member in struct:exynos_drm_plane_state
H A Dexynos_drm_scaler.c268 u32 val, h_ratio, v_ratio; local
272 v_ratio = (src_pos->w << 16) / dst_pos->h;
275 v_ratio = (src_pos->h << 16) / dst_pos->h;
281 val = SCALER_V_RATIO_SET(v_ratio);
H A Dexynos_mixer.c581 vp_reg_write(ctx, VP_V_RATIO, state->v_ratio);
645 y_ratio = state->v_ratio == (1 << 15);
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k];
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k];
61 v->v_ratio[k] = v->h_ratio[k];
64 v->v_ratio[k] = 2.0 * v->v_ratio[k];
68 v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor;
89 if (v->v_ratio[k] > 1.0) {
90 v->acceptable_quality_vta_ps =dcn_bw_min2(v->max_vscl_taps, 2.0 *dcn_bw_ceil2(v->v_ratio[k], 1.0));
92 else if (v->v_ratio[
[all...]
H A Ddcn_calcs.c1113 dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k];
1115 dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k] / 2.0;
/linux-master/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h201 float v_ratio[number_of_planes_minus_one + 1]; member in struct:dcn_bw_internal_vars

Completed in 134 milliseconds