Commit 7f4392aa authored by Philipp Zabel's avatar Philipp Zabel Committed by Greg Kroah-Hartman
Browse files

imx-drm: Move IPU_PIX_FMT_GBR24 definition into imx-ipu-v3.h



The IPU display controller supports a non-standard green-red-blue ordered
format that is used on the connection between IPU display interface 1 and
the TV encoder on i.MX53.
In preparation for the move of IPU core code out of staging, place the
IPU_PIX_FMT_GBR24 definition in imx-ipu-v3.h, so that both the IPU
display interface driver and the TVE encoder driver can access it.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fe5d2e01
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
#ifndef _IMX_DRM_H_
#define _IMX_DRM_H_

#include <linux/videodev2.h>

#define IPU_PIX_FMT_GBR24	v4l2_fourcc('G', 'B', 'R', '3')

struct device_node;
struct drm_crtc;
struct drm_connector;
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
#include <drm/drm_fb_helper.h>
#include <drm/drm_crtc_helper.h>

#include "ipu-v3/imx-ipu-v3.h"
#include "imx-drm.h"

#define TVE_COM_CONF_REG	0x00
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ enum ipuv3_type {
	IPUV3H,
};

#define IPU_PIX_FMT_GBR24	v4l2_fourcc('G', 'B', 'R', '3')

/*
 * Bitfield of Display Interface signal polarities.
 */