Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c56 static void exynos_plane_mode_set(struct exynos_drm_plane_state *exynos_state) in exynos_plane_mode_set() argument
58 struct drm_plane_state *state = &exynos_state->base; in exynos_plane_mode_set()
87 exynos_state->h_ratio = (src_w << 16) / crtc_w; in exynos_plane_mode_set()
88 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set()
96 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()
102 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
107 exynos_state->src.x = src_x; in exynos_plane_mode_set()
108 exynos_state->src.y = src_y; in exynos_plane_mode_set()
109 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set()
110 exynos_state->src.h = (actual_h * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
[all …]