Searched refs:exynos_state (Results 1 – 1 of 1) sorted by relevance
60 static void exynos_plane_mode_set(struct exynos_drm_plane_state *exynos_state) in exynos_plane_mode_set() argument62 struct drm_plane_state *state = &exynos_state->base; in exynos_plane_mode_set()91 exynos_state->h_ratio = (src_w << 16) / crtc_w; in exynos_plane_mode_set()92 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set()100 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()106 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()111 exynos_state->src.x = src_x; in exynos_plane_mode_set()112 exynos_state->src.y = src_y; in exynos_plane_mode_set()113 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()114 exynos_state->src.h = (actual_h * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()[all …]