summaryrefslogtreecommitdiff
path: root/drivers/staging/imx-drm/imx-drm.h
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-04-08 18:04:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-09 16:16:16 -0700
commiteeb14ec8da9ca0f800edf6f7652269cb6aa0028f (patch)
treedec13a336d547af63406ab4c0b5490813a0bb3db /drivers/staging/imx-drm/imx-drm.h
parent3d2409d4f1d459ad734718ab19c731a934968ec0 (diff)
staging: drm/imx: ipu-dc: add 24-bit GBR support to DC
24-bit GBR order is needed on the display interface connected to the Television Encoder (TVEv2) on i.MX53. 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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/imx-drm/imx-drm.h b/drivers/staging/imx-drm/imx-drm.h
index ae28a490c445..a24508f05845 100644
--- a/drivers/staging/imx-drm/imx-drm.h
+++ b/drivers/staging/imx-drm/imx-drm.h
@@ -1,8 +1,18 @@
#ifndef _IMX_DRM_H_
#define _IMX_DRM_H_
+#include <linux/videodev2.h>
+
+#define IPU_PIX_FMT_GBR24 v4l2_fourcc('G', 'B', 'R', '3')
+
+struct drm_crtc;
+struct drm_connector;
+struct drm_device;
+struct drm_encoder;
struct imx_drm_crtc;
struct drm_fbdev_cma;
+struct drm_framebuffer;
+struct platform_device;
struct imx_drm_crtc_helper_funcs {
int (*enable_vblank)(struct drm_crtc *crtc);