]>
Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
1c248b7d ID |
2 | /* |
3 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | |
4 | * Authors: | |
5 | * Inki Dae <inki.dae@samsung.com> | |
6 | * Joonyoung Shim <jy0922.shim@samsung.com> | |
7 | * Seung-Woo Kim <sw0312.kim@samsung.com> | |
1c248b7d ID |
8 | */ |
9 | ||
10 | #ifndef _EXYNOS_DRM_FB_H_ | |
8e391117 | 11 | #define _EXYNOS_DRM_FB_H_ |
1c248b7d | 12 | |
d56125af JS |
13 | #include "exynos_drm_gem.h" |
14 | ||
e1533c08 JS |
15 | struct drm_framebuffer * |
16 | exynos_drm_framebuffer_init(struct drm_device *dev, | |
1eb83451 | 17 | const struct drm_mode_fb_cmd2 *mode_cmd, |
813fd67b | 18 | struct exynos_drm_gem **exynos_gem, |
d56125af | 19 | int count); |
1c248b7d | 20 | |
0488f50e | 21 | dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index); |
229d3534 | 22 | |
1c248b7d ID |
23 | void exynos_drm_mode_config_init(struct drm_device *dev); |
24 | ||
25 | #endif |