diff options
author | Hyungwon Hwang <human.hwang@samsung.com> | 2015-06-22 19:05:04 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-06-22 19:05:46 +0900 |
commit | fc2e013f78c42fdafcb48f4922c2ae6d2c8e7d09 (patch) | |
tree | e906df44bda58b6940586e75bce9eee97f258d8a /drivers/gpu/drm/exynos/exynos_drm_drv.h | |
parent | 3f46d807f861fb7304c9890fb091efb80161f2c7 (diff) |
drm/exynos: add drm_iommu_attach_device_if_possible()
Every CRTC drivers in Exynos DRM implements the code which checks
whether IOMMU is supported or not, and if supported enable it.
Making new helper for it generalize each CRTC drivers.
Signed-off-by: Hyungwon Hwang <human.hwang@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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index a3845693c634..61a9a9ed37f0 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -177,6 +177,7 @@ struct exynos_drm_crtc_ops { void (*win_disable)(struct exynos_drm_crtc *crtc, unsigned int zpos); void (*te_handler)(struct exynos_drm_crtc *crtc); void (*clock_enable)(struct exynos_drm_crtc *crtc, bool enable); + void (*clear_channels)(struct exynos_drm_crtc *crtc); }; /* |