2011-10-04 12:19:01 +02: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-17 18:30:17 +01: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 12:19:01 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _EXYNOS_DRM_ENCODER_H_
|
|
|
|
#define _EXYNOS_DRM_ENCODER_H_
|
|
|
|
|
|
|
|
struct exynos_drm_manager;
|
|
|
|
|
2012-02-15 03:25:19 +01:00
|
|
|
void exynos_drm_encoder_setup(struct drm_device *dev);
|
2011-10-04 12:19:01 +02: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 03:06:54 +01:00
|
|
|
void exynos_drm_encoder_crtc_dpms(struct drm_encoder *encoder, void *data);
|
2012-06-27 07:27:02 +02:00
|
|
|
void exynos_drm_encoder_crtc_pipe(struct drm_encoder *encoder, void *data);
|
2012-06-27 07:27:05 +02: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 07:27:09 +02:00
|
|
|
void exynos_drm_encoder_plane_enable(struct drm_encoder *encoder, void *data);
|
2012-06-27 07:27:05 +02:00
|
|
|
void exynos_drm_encoder_plane_disable(struct drm_encoder *encoder, void *data);
|
2012-11-22 09:41:23 +01:00
|
|
|
void exynos_drm_encoder_complete_scanout(struct drm_framebuffer *fb);
|
2011-10-04 12:19:01 +02:00
|
|
|
|
|
|
|
#endif
|