Commit | Line | Data |
---|---|---|
1c248b7d ID |
1 | /* |
2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | |
3 | * Authors: | |
4 | * Inki Dae <inki.dae@samsung.com> | |
5 | * Joonyoung Shim <jy0922.shim@samsung.com> | |
6 | * Seung-Woo Kim <sw0312.kim@samsung.com> | |
7 | * | |
d81aecb5 ID |
8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms of the GNU General Public License as published by the | |
10 | * Free Software Foundation; either version 2 of the License, or (at your | |
11 | * option) any later version. | |
1c248b7d ID |
12 | */ |
13 | ||
14 | #ifndef _EXYNOS_DRM_FB_H_ | |
15 | #define _EXYNOS_DRM_FB_H | |
16 | ||
d56125af JS |
17 | #include "exynos_drm_gem.h" |
18 | ||
e1533c08 JS |
19 | struct drm_framebuffer * |
20 | exynos_drm_framebuffer_init(struct drm_device *dev, | |
1eb83451 | 21 | const struct drm_mode_fb_cmd2 *mode_cmd, |
813fd67b | 22 | struct exynos_drm_gem **exynos_gem, |
d56125af | 23 | int count); |
1c248b7d | 24 | |
2a8cb489 | 25 | /* get gem object of a drm framebuffer */ |
813fd67b | 26 | struct exynos_drm_gem *exynos_drm_fb_gem(struct drm_framebuffer *fb, int index); |
229d3534 | 27 | |
1c248b7d ID |
28 | void exynos_drm_mode_config_init(struct drm_device *dev); |
29 | ||
30 | #endif |