Loading...
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2011 Samsung Electronics Co.Ltd
4 * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
5 */
6
7int exynos_plane_init(struct drm_device *dev,
8 struct exynos_drm_plane *exynos_plane, unsigned int index,
9 const struct exynos_drm_plane_config *config);
1/*
2 * Copyright (C) 2011 Samsung Electronics Co.Ltd
3 * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 *
10 */
11
12int exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc,
13 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
14 unsigned int crtc_w, unsigned int crtc_h,
15 uint32_t src_x, uint32_t src_y,
16 uint32_t src_w, uint32_t src_h);
17void exynos_plane_commit(struct drm_plane *plane);
18void exynos_plane_dpms(struct drm_plane *plane, int mode);
19struct drm_plane *exynos_plane_init(struct drm_device *dev,
20 unsigned long possible_crtcs, bool priv);