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_ENCODER_H_ |
| 15 | #define _EXYNOS_DRM_ENCODER_H_ |
| 16 | |
| 17 | struct exynos_drm_manager; |
| 18 | |
Inki Dae | d081f56 | 2012-02-15 11:25:19 +0900 | [diff] [blame] | 19 | void exynos_drm_encoder_setup(struct drm_device *dev); |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 20 | struct drm_encoder *exynos_drm_encoder_create(struct drm_device *dev, |
| 21 | struct exynos_drm_manager *mgr, |
| 22 | unsigned int possible_crtcs); |
| 23 | struct exynos_drm_manager * |
| 24 | exynos_drm_get_manager(struct drm_encoder *encoder); |
| 25 | void exynos_drm_fn_encoder(struct drm_crtc *crtc, void *data, |
| 26 | void (*fn)(struct drm_encoder *, void *)); |
| 27 | void exynos_drm_enable_vblank(struct drm_encoder *encoder, void *data); |
| 28 | void exynos_drm_disable_vblank(struct drm_encoder *encoder, void *data); |
Inki Dae | ec05da9 | 2011-12-06 11:06:54 +0900 | [diff] [blame] | 29 | void exynos_drm_encoder_crtc_dpms(struct drm_encoder *encoder, void *data); |
Joonyoung Shim | d249ce0 | 2012-06-27 14:27:02 +0900 | [diff] [blame] | 30 | void exynos_drm_encoder_crtc_pipe(struct drm_encoder *encoder, void *data); |
Joonyoung Shim | 4070d21 | 2012-06-27 14:27:05 +0900 | [diff] [blame] | 31 | void exynos_drm_encoder_plane_mode_set(struct drm_encoder *encoder, void *data); |
| 32 | void exynos_drm_encoder_plane_commit(struct drm_encoder *encoder, void *data); |
Joonyoung Shim | cf5188a | 2012-06-27 14:27:09 +0900 | [diff] [blame] | 33 | void exynos_drm_encoder_plane_enable(struct drm_encoder *encoder, void *data); |
Joonyoung Shim | 4070d21 | 2012-06-27 14:27:05 +0900 | [diff] [blame] | 34 | void exynos_drm_encoder_plane_disable(struct drm_encoder *encoder, void *data); |
Inki Dae | 1daa892 | 2012-11-22 17:41:23 +0900 | [diff] [blame] | 35 | void exynos_drm_encoder_complete_scanout(struct drm_framebuffer *fb); |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 36 | |
| 37 | #endif |