diff options
author | Eunchul Kim <chulspro.kim@samsung.com> | 2012-12-14 03:58:55 -0500 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2012-12-14 12:38:53 -0500 |
commit | 16102edb49b6cc7fbb68b10c04a42b78fbceb3ed (patch) | |
tree | 97c4c28c5fb058bb94b304eae3be0efa1decdc46 /include/drm/exynos_drm.h | |
parent | c12e2617b25535014a766a0bc3e05134ef817b82 (diff) |
drm/exynos: add fimc ipp driver
FIMC is stand for Fully Interfactive Mobile Camera and
supports image scaler/rotator/crop/flip/csc and input/output DMA operations
and also supports writeback and display output operations.
This driver is registered to IPP subsystem framework to be used by user side
and user can control the FIMC hardware through some interfaces of IPP subsystem
framework.
Changelog v6:
- fix build warning.
Changelog v1 ~ v5:
- add comments, code fixups and cleanups.
Signed-off-by: Eunchul Kim <chulspro.kim@samsung.com>
Signed-off-by: Jinyoung Jeon <jy0.jeon@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r-- | include/drm/exynos_drm.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index 3c13a3a4b158..808dad29607a 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h | |||
@@ -85,4 +85,30 @@ struct exynos_drm_hdmi_pdata { | |||
85 | int (*get_hpd)(void); | 85 | int (*get_hpd)(void); |
86 | }; | 86 | }; |
87 | 87 | ||
88 | /** | ||
89 | * Platform Specific Structure for DRM based IPP. | ||
90 | * | ||
91 | * @inv_pclk: if set 1. invert pixel clock | ||
92 | * @inv_vsync: if set 1. invert vsync signal for wb | ||
93 | * @inv_href: if set 1. invert href signal | ||
94 | * @inv_hsync: if set 1. invert hsync signal for wb | ||
95 | */ | ||
96 | struct exynos_drm_ipp_pol { | ||
97 | unsigned int inv_pclk; | ||
98 | unsigned int inv_vsync; | ||
99 | unsigned int inv_href; | ||
100 | unsigned int inv_hsync; | ||
101 | }; | ||
102 | |||
103 | /** | ||
104 | * Platform Specific Structure for DRM based FIMC. | ||
105 | * | ||
106 | * @pol: current hardware block polarity settings. | ||
107 | * @clk_rate: current hardware clock rate. | ||
108 | */ | ||
109 | struct exynos_drm_fimc_pdata { | ||
110 | struct exynos_drm_ipp_pol pol; | ||
111 | int clk_rate; | ||
112 | }; | ||
113 | |||
88 | #endif /* _EXYNOS_DRM_H_ */ | 114 | #endif /* _EXYNOS_DRM_H_ */ |