aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_crtc.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2014-02-19 07:02:55 -0500
committerInki Dae <daeinki@gmail.com>2014-03-23 11:36:31 -0400
commit080be03de296f68e8c6e13ab7545eae26db6359f (patch)
tree513d1e9e0d8bcda750c55c21f8bf120f2ea2cb8f /drivers/gpu/drm/exynos/exynos_drm_crtc.h
parent3f283d9375ad8fa97ac7a7b2d4f73425186d8810 (diff)
drm/exynos: Split manager/display/subdrv
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_crtc.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_crtc.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.h b/drivers/gpu/drm/exynos/exynos_drm_crtc.h
index 3e197e6ae7d9..c27b66cc5d24 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_crtc.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.h
@@ -15,9 +15,21 @@
15#ifndef _EXYNOS_DRM_CRTC_H_ 15#ifndef _EXYNOS_DRM_CRTC_H_
16#define _EXYNOS_DRM_CRTC_H_ 16#define _EXYNOS_DRM_CRTC_H_
17 17
18int exynos_drm_crtc_create(struct drm_device *dev, unsigned int nr); 18struct drm_device;
19int exynos_drm_crtc_enable_vblank(struct drm_device *dev, int crtc); 19struct drm_crtc;
20void exynos_drm_crtc_disable_vblank(struct drm_device *dev, int crtc); 20struct exynos_drm_manager;
21void exynos_drm_crtc_finish_pageflip(struct drm_device *dev, int crtc); 21struct exynos_drm_overlay;
22
23int exynos_drm_crtc_create(struct exynos_drm_manager *manager);
24int exynos_drm_crtc_enable_vblank(struct drm_device *dev, int pipe);
25void exynos_drm_crtc_disable_vblank(struct drm_device *dev, int pipe);
26void exynos_drm_crtc_finish_pageflip(struct drm_device *dev, int pipe);
27void exynos_drm_crtc_complete_scanout(struct drm_framebuffer *fb);
28
29void exynos_drm_crtc_plane_mode_set(struct drm_crtc *crtc,
30 struct exynos_drm_overlay *overlay);
31void exynos_drm_crtc_plane_commit(struct drm_crtc *crtc, int zpos);
32void exynos_drm_crtc_plane_enable(struct drm_crtc *crtc, int zpos);
33void exynos_drm_crtc_plane_disable(struct drm_crtc *crtc, int zpos);
22 34
23#endif 35#endif