summaryrefslogtreecommitdiff
path: root/drivers/staging/imx-drm/imx-drm.h
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-10-10 16:18:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 15:30:33 -0700
commitb8d181e408af6a017da8143eccae9ce8f2157d2f (patch)
treea9c9e8c7b4c81ce98473bbf131789dc0f96ac56f /drivers/staging/imx-drm/imx-drm.h
parent6ee4d7fe1b5f8c9c32410ddf1f1aa84bdeaed6b9 (diff)
staging: drm/imx: add drm plane support
This patch adds support for a drm overlay plane on DI0 using the DP. In principle, the overlay plane could also be used on DI1, but to switch the overlay plane between display interfaces, the base planes would have to be exchanged transparently while both display interfaces are inactive. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm/imx-drm.h')
-rw-r--r--drivers/staging/imx-drm/imx-drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/imx-drm/imx-drm.h b/drivers/staging/imx-drm/imx-drm.h
index f2aac91ddf5d..ae90c9c15312 100644
--- a/drivers/staging/imx-drm/imx-drm.h
+++ b/drivers/staging/imx-drm/imx-drm.h
@@ -14,6 +14,8 @@ struct drm_fbdev_cma;
struct drm_framebuffer;
struct platform_device;
+int imx_drm_crtc_id(struct imx_drm_crtc *crtc);
+
struct imx_drm_crtc_helper_funcs {
int (*enable_vblank)(struct drm_crtc *crtc);
void (*disable_vblank)(struct drm_crtc *crtc);