Lines Matching full:plane
112 /* set plane range to be displayed. */ in exynos_plane_mode_set()
119 "plane : offset_x/y(%d,%d), width/height(%d,%d)", in exynos_plane_mode_set()
124 static void exynos_drm_plane_reset(struct drm_plane *plane) in exynos_drm_plane_reset() argument
126 struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane); in exynos_drm_plane_reset()
129 if (plane->state) { in exynos_drm_plane_reset()
130 exynos_state = to_exynos_plane_state(plane->state); in exynos_drm_plane_reset()
131 __drm_atomic_helper_plane_destroy_state(plane->state); in exynos_drm_plane_reset()
133 plane->state = NULL; in exynos_drm_plane_reset()
138 __drm_atomic_helper_plane_reset(plane, &exynos_state->base); in exynos_drm_plane_reset()
139 plane->state->zpos = exynos_plane->config->zpos; in exynos_drm_plane_reset()
144 exynos_drm_plane_duplicate_state(struct drm_plane *plane) in exynos_drm_plane_duplicate_state() argument
149 exynos_state = to_exynos_plane_state(plane->state); in exynos_drm_plane_duplicate_state()
154 __drm_atomic_helper_plane_duplicate_state(plane, ©->base); in exynos_drm_plane_duplicate_state()
158 static void exynos_drm_plane_destroy_state(struct drm_plane *plane, in exynos_drm_plane_destroy_state() argument
231 static int exynos_plane_atomic_check(struct drm_plane *plane, in exynos_plane_atomic_check() argument
235 plane); in exynos_plane_atomic_check()
236 struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane); in exynos_plane_atomic_check()
255 static void exynos_plane_atomic_update(struct drm_plane *plane, in exynos_plane_atomic_update() argument
259 plane); in exynos_plane_atomic_update()
261 struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane); in exynos_plane_atomic_update()
270 static void exynos_plane_atomic_disable(struct drm_plane *plane, in exynos_plane_atomic_disable() argument
273 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in exynos_plane_atomic_disable()
274 struct exynos_drm_plane *exynos_plane = to_exynos_plane(plane); in exynos_plane_atomic_disable()
290 static void exynos_plane_attach_zpos_property(struct drm_plane *plane, in exynos_plane_attach_zpos_property() argument
294 drm_plane_create_zpos_immutable_property(plane, zpos); in exynos_plane_attach_zpos_property()
296 drm_plane_create_zpos_property(plane, zpos, 0, MAX_PLANE - 1); in exynos_plane_attach_zpos_property()
307 struct drm_plane *plane = &exynos_plane->base; in exynos_plane_init() local
316 DRM_DEV_ERROR(dev->dev, "failed to initialize plane\n"); in exynos_plane_init()
329 drm_plane_create_blend_mode_property(plane, supported_modes); in exynos_plane_init()
332 drm_plane_create_alpha_property(plane); in exynos_plane_init()