forked from Minki/linux
080be03de2
This patch splits display and manager from subdrv. The result is that crtc functions can directly call into manager callbacks and encoder functions can directly call into display callbacks. This will allow us to remove the exynos_drm_hdmi shim and support mixer/hdmi & fimd/dp with common code. Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
26 lines
827 B
C
26 lines
827 B
C
/*
|
|
* 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>
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef _EXYNOS_DRM_ENCODER_H_
|
|
#define _EXYNOS_DRM_ENCODER_H_
|
|
|
|
struct exynos_drm_manager;
|
|
|
|
void exynos_drm_encoder_setup(struct drm_device *dev);
|
|
struct drm_encoder *exynos_drm_encoder_create(struct drm_device *dev,
|
|
struct exynos_drm_display *mgr,
|
|
unsigned long possible_crtcs);
|
|
struct exynos_drm_display *exynos_drm_get_display(struct drm_encoder *encoder);
|
|
|
|
#endif
|