diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-05-10 08:52:12 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-05-10 08:53:08 +0900 |
commit | 7a2d5c77c55847f31945e5aa8337db2218a5a7c1 (patch) | |
tree | 842edd7665ad2c0c877df3eafa94d3a6478406cf /drivers/gpu/drm/exynos/exynos_drm_drv.h | |
parent | 8b7d3ec83aba6381bfc123c7aebcd78199635c3a (diff) | |
download | linux-7a2d5c77c55847f31945e5aa8337db2218a5a7c1.tar.bz2 |
drm/exynos: fimc: Convert driver to IPP v2 core API
This patch adapts Exynos DRM FIMC driver to new IPP v2 core API.
The side effect of this conversion is a switch to driver component API
to register properly in the Exynos DRM core.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Merge conflict so merged manually.
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index df2262f70d91..0834e7e28c99 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -273,6 +273,15 @@ static inline int exynos_dpi_bind(struct drm_device *dev, } #endif +#ifdef CONFIG_DRM_EXYNOS_FIMC +int exynos_drm_check_fimc_device(struct device *dev); +#else +static inline int exynos_drm_check_fimc_device(struct device *dev) +{ + return 0; +} +#endif + int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state, bool nonblock); int exynos_atomic_check(struct drm_device *dev, struct drm_atomic_state *state); |