blob: 9d3c374e7b3ec44ea3fe36c078e2819543bf3c6a [file] [log] [blame]
Joonyoung Shim864ee9e2011-12-08 17:54:07 +09001/*
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
Gustavo Padovanadf56912014-11-27 14:56:09 -020012int exynos_check_plane(struct drm_plane *plane, struct drm_framebuffer *fb);
13void exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc,
14 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
15 unsigned int crtc_w, unsigned int crtc_h,
16 uint32_t src_x, uint32_t src_y,
17 uint32_t src_w, uint32_t src_h);
Gustavo Padovan0e0a6492014-11-25 11:21:17 -020018int exynos_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
19 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
20 unsigned int crtc_w, unsigned int crtc_h,
21 uint32_t src_x, uint32_t src_y,
22 uint32_t src_w, uint32_t src_h);
Joonyoung Shimb5d2eb32012-06-27 14:27:04 +090023struct drm_plane *exynos_plane_init(struct drm_device *dev,
Andrzej Hajda72ed6cc2014-09-19 14:58:53 +020024 unsigned long possible_crtcs,
25 enum drm_plane_type type);