blob: 89e2fb0770af12ba7405ba8b116edb831b67c4fd [file] [log] [blame]
Inki Dae1c248b72011-10-04 19:19:01 +09001/*
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 Daed81aecb2012-12-18 02:30:17 +09008 * 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 Dae1c248b72011-10-04 19:19:01 +090012 */
13
14#ifndef _EXYNOS_DRM_ENCODER_H_
15#define _EXYNOS_DRM_ENCODER_H_
16
17struct exynos_drm_manager;
18
Inki Daed081f562012-02-15 11:25:19 +090019void exynos_drm_encoder_setup(struct drm_device *dev);
Inki Dae1c248b72011-10-04 19:19:01 +090020struct drm_encoder *exynos_drm_encoder_create(struct drm_device *dev,
21 struct exynos_drm_manager *mgr,
22 unsigned int possible_crtcs);
23struct exynos_drm_manager *
24exynos_drm_get_manager(struct drm_encoder *encoder);
25void exynos_drm_fn_encoder(struct drm_crtc *crtc, void *data,
26 void (*fn)(struct drm_encoder *, void *));
27void exynos_drm_enable_vblank(struct drm_encoder *encoder, void *data);
28void exynos_drm_disable_vblank(struct drm_encoder *encoder, void *data);
Inki Daeec05da92011-12-06 11:06:54 +090029void exynos_drm_encoder_crtc_dpms(struct drm_encoder *encoder, void *data);
Joonyoung Shimd249ce02012-06-27 14:27:02 +090030void exynos_drm_encoder_crtc_pipe(struct drm_encoder *encoder, void *data);
Joonyoung Shim4070d212012-06-27 14:27:05 +090031void exynos_drm_encoder_plane_mode_set(struct drm_encoder *encoder, void *data);
32void exynos_drm_encoder_plane_commit(struct drm_encoder *encoder, void *data);
Joonyoung Shimcf5188a2012-06-27 14:27:09 +090033void exynos_drm_encoder_plane_enable(struct drm_encoder *encoder, void *data);
Joonyoung Shim4070d212012-06-27 14:27:05 +090034void exynos_drm_encoder_plane_disable(struct drm_encoder *encoder, void *data);
Inki Dae1daa8922012-11-22 17:41:23 +090035void exynos_drm_encoder_complete_scanout(struct drm_framebuffer *fb);
Inki Dae1c248b72011-10-04 19:19:01 +090036
37#endif