1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef _EXYNOS_DRM_CRTC_H_
16#define _EXYNOS_DRM_CRTC_H_
17
18#include "exynos_drm_drv.h"
19
20struct exynos_drm_crtc *exynos_drm_crtc_create(struct drm_device *drm_dev,
21 struct drm_plane *plane,
22 int pipe,
23 enum exynos_drm_output_type type,
24 const struct exynos_drm_crtc_ops *ops,
25 void *context);
26int exynos_drm_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe);
27void exynos_drm_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe);
28void exynos_drm_crtc_wait_pending_update(struct exynos_drm_crtc *exynos_crtc);
29void exynos_drm_crtc_finish_update(struct exynos_drm_crtc *exynos_crtc,
30 struct exynos_drm_plane *exynos_plane);
31
32
33int exynos_drm_crtc_get_pipe_from_type(struct drm_device *drm_dev,
34 enum exynos_drm_output_type out_type);
35
36
37
38
39
40
41void exynos_drm_crtc_te_handler(struct drm_crtc *crtc);
42
43
44void exynos_drm_crtc_cancel_page_flip(struct drm_crtc *crtc,
45 struct drm_file *file);
46
47#endif
48