Searched refs:exynos_state (Results 1 – 1 of 1) sorted by relevance
55 static void exynos_plane_mode_set(struct exynos_drm_plane_state *exynos_state) in exynos_plane_mode_set() argument57 struct drm_plane_state *state = &exynos_state->base; in exynos_plane_mode_set()86 exynos_state->h_ratio = (src_w << 16) / crtc_w; in exynos_plane_mode_set()87 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set()95 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()101 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()106 exynos_state->src.x = src_x; in exynos_plane_mode_set()107 exynos_state->src.y = src_y; in exynos_plane_mode_set()108 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()109 exynos_state->src.h = (actual_h * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()[all …]