2011-10-04 18:19:01 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
|
|
|
|
* Authors:
|
|
|
|
* Inki Dae <inki.dae@samsung.com>
|
|
|
|
* Joonyoung Shim <jy0922.shim@samsung.com>
|
|
|
|
* Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
|
|
*
|
2012-12-18 01:30:17 +08:00
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
2011-10-04 18:19:01 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _EXYNOS_DRM_ENCODER_H_
|
|
|
|
#define _EXYNOS_DRM_ENCODER_H_
|
|
|
|
|
|
|
|
struct exynos_drm_manager;
|
|
|
|
|
2012-02-15 10:25:19 +08:00
|
|
|
void exynos_drm_encoder_setup(struct drm_device *dev);
|
2011-10-04 18:19:01 +08:00
|
|
|
struct drm_encoder *exynos_drm_encoder_create(struct drm_device *dev,
|
|
|
|
struct exynos_drm_manager *mgr,
|
|
|
|
unsigned int possible_crtcs);
|
|
|
|
struct exynos_drm_manager *
|
|
|
|
exynos_drm_get_manager(struct drm_encoder *encoder);
|
|
|
|
void exynos_drm_fn_encoder(struct drm_crtc *crtc, void *data,
|
|
|
|
void (*fn)(struct drm_encoder *, void *));
|
|
|
|
void exynos_drm_enable_vblank(struct drm_encoder *encoder, void *data);
|
|
|
|
void exynos_drm_disable_vblank(struct drm_encoder *encoder, void *data);
|
2011-12-06 10:06:54 +08:00
|
|
|
void exynos_drm_encoder_crtc_dpms(struct drm_encoder *encoder, void *data);
|
2012-06-27 13:27:02 +08:00
|
|
|
void exynos_drm_encoder_crtc_pipe(struct drm_encoder *encoder, void *data);
|
2012-06-27 13:27:05 +08:00
|
|
|
void exynos_drm_encoder_plane_mode_set(struct drm_encoder *encoder, void *data);
|
|
|
|
void exynos_drm_encoder_plane_commit(struct drm_encoder *encoder, void *data);
|
2012-06-27 13:27:09 +08:00
|
|
|
void exynos_drm_encoder_plane_enable(struct drm_encoder *encoder, void *data);
|
2012-06-27 13:27:05 +08:00
|
|
|
void exynos_drm_encoder_plane_disable(struct drm_encoder *encoder, void *data);
|
2012-11-22 16:41:23 +08:00
|
|
|
void exynos_drm_encoder_complete_scanout(struct drm_framebuffer *fb);
|
2011-10-04 18:19:01 +08:00
|
|
|
|
|
|
|
#endif
|