Searched refs:v_ratio (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calc_auto.c | 47 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() 132 …v_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 …]
|
D | dcn_calcs.c | 1129 … 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() 1131 …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/ |
D | exynos_drm_plane.c | 87 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()
|
D | exynos_drm_scaler.c | 267 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()
|
D | exynos_drm_drv.h | 68 unsigned int v_ratio; member
|
D | exynos_mixer.c | 579 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/ |
D | dcn_calcs.h | 201 float v_ratio[number_of_planes_minus_one + 1]; member
|