summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.h
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-04-25 16:47:37 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:40 +0900
commit7b99ba1c94b6c45e32820353654b38b75bf1cf54 (patch)
treeb569c18044f7bf79afae13164b5c0ad35f7cef1f /drivers/gpu/drm/exynos/exynos_drm_drv.h
parent0a16179860de3b55c8bddc2568c80b2cecb44b7e (diff)
downloadlinux-3.10-7b99ba1c94b6c45e32820353654b38b75bf1cf54.tar.gz
linux-3.10-7b99ba1c94b6c45e32820353654b38b75bf1cf54.tar.bz2
linux-3.10-7b99ba1c94b6c45e32820353654b38b75bf1cf54.zip
drm/exynos: restore parallel output interface support
The patch adds parallel output interface to FIMD device driver. It also restores support for panels initialized by boot loader, but without proper kernel driver. Driver uses video interface bindings to find connected panel. It uses drm_panel interface to interact with the panel. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
index d338b8eb352..63a185be19a 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
@@ -360,6 +360,14 @@ int exynos_platform_device_ipp_register(void);
*/
void exynos_platform_device_ipp_unregister(void);
+#ifdef CONFIG_DRM_EXYNOS_DPI
+int exynos_dpi_probe(struct device *dev);
+int exynos_dpi_remove(struct device *dev);
+#else
+static inline int exynos_dpi_probe(struct device *dev) { return 0; }
+static inline int exynos_dpi_remove(struct device *dev) { return 0; }
+#endif
+
extern struct platform_driver fimd_driver;
extern struct platform_driver hdmi_driver;
extern struct platform_driver mixer_driver;