Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 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 | * |
Inki Dae | d81aecb | 2012-12-18 02:30:17 +0900 | [diff] [blame] | 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. |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 12 | */ |
| 13 | |
| 14 | #ifndef _EXYNOS_DRM_FB_H_ |
Ashley Towns | 8e39111 | 2015-11-12 21:03:27 +1100 | [diff] [blame] | 15 | #define _EXYNOS_DRM_FB_H_ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 16 | |
Joonyoung Shim | d56125a | 2015-09-01 16:22:52 +0900 | [diff] [blame] | 17 | #include "exynos_drm_gem.h" |
| 18 | |
Joonyoung Shim | e1533c0 | 2011-12-13 14:46:57 +0900 | [diff] [blame] | 19 | struct drm_framebuffer * |
| 20 | exynos_drm_framebuffer_init(struct drm_device *dev, |
Ville Syrjälä | 1eb8345 | 2015-11-11 19:11:29 +0200 | [diff] [blame] | 21 | const struct drm_mode_fb_cmd2 *mode_cmd, |
Joonyoung Shim | 813fd67b | 2015-10-02 09:33:47 +0900 | [diff] [blame] | 22 | struct exynos_drm_gem **exynos_gem, |
Joonyoung Shim | d56125a | 2015-09-01 16:22:52 +0900 | [diff] [blame] | 23 | int count); |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 24 | |
Marek Szyprowski | 0488f50 | 2015-11-30 14:53:21 +0100 | [diff] [blame] | 25 | dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index); |
Seung-Woo Kim | 229d353 | 2011-12-15 14:36:22 +0900 | [diff] [blame] | 26 | |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 27 | void exynos_drm_mode_config_init(struct drm_device *dev); |
| 28 | |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 29 | #endif |